power of explicit self?
gagsl-py2 at yahoo.com.ar
Sat Dec 12 06:53:13 CET 2009
En Sat, 12 Dec 2009 01:04:42 -0300, Fire Crow <me at firecrow.com> escribió:
> I'm looking for an explanation of how explicit self is implimented and
> what features are only possible because of, or are greatly improved,
> because of it. I've always liked explicit self and am looking for the
> computer science behind it, so that I can explain the benefits that I
See the FAQ 
> I'm also interested in the files/lines of the python source that shows
> how explicit self is implemented if anyone can point out where that
> takes place.
Nowhere, I'd say. An *implicit* self would have to be implemented
somewhere in the compiler -- but an explicit self doesn't. It's
homogeneous, always name-dot-attribute; the name 'self' is not special at
More information about the Python-list