def f(x):
print 'entered f(x)'
hash = { 1: g(x) }
print 'about to exit f(x)...'
return hash[1]
def g(x):
print 'this is g(x)'
f(1)
ZGVmIGYoeCk6CiAgcHJpbnQgJ2VudGVyZWQgZih4KScKICBoYXNoID0geyAxOiBnKHgpIH0KICBwcmludCAnYWJvdXQgdG8gZXhpdCBmKHgpLi4uJwogIHJldHVybiBoYXNoWzFdCgoKZGVmIGcoeCk6CiAgcHJpbnQgJ3RoaXMgaXMgZyh4KScKCmYoMSk=