Lie Ryan wrote:
in python there is only a flat local namespace and the names resolver becomes a thousand times simpler
No, it doesn't. The compiler already has to deal with multiple scopes for nested functions. There may be some simplification, but not a lot. The main reason is linguistic. Having nested blocks create new scopes does not fit well with lack of variable declarations. -- Greg -- http://mail.python.org/mailman/listinfo/python-list