![](https://secure.gravatar.com/avatar/68b8225ccb256d61bf1538508d803915.jpg?s=120&d=mm&r=g)
Feb. 28, 2001
8:24 p.m.
I didn't want to start a discussion, I was more concerned if I got the semantic (that I should impl) right. So: x=7 def f(): x=1 def g(): global x def h(): return x return h() return g() will print 1. Ok. regards. PS: I tried this with a2 and python just died, I imagine, this has been fixed.