Can "self" crush itself?

Lie Ryan lie.1296 at gmail.com
Thu Nov 26 07:12:16 EST 2009


n00m wrote:
> Ok ok
> Of course, it's a local name; -- just my silly slip.
> And seems it belongs to no dict[]...
> Just an internal volatile elf

Local names are not implemented as dict, but rather as sort of an array 
in the compiler. The name resolution of locals is compile time and 
doesn't use dictionary, that's why local is much faster than globals.



More information about the Python-list mailing list