Alphones:
> it is a little deferent from other script language.

See also here:
http://en.wikipedia.org/wiki/Dynamic_scope#Dynamic_scoping

Python doesn't have such automatic closures, probably for performance
reasons and/or maybe to keep its C implementation simpler (maybe other
people here can give you an explanation of this, I too am curious).

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to