[Python-Dev] Draft proposal: Implicit self in Python 3.0 (original) (raw)

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Sun Jan 8 16:58:29 CET 2006


--- Fredrik Lundh <fredrik at pythonware.com> wrote:

> Please try the code below to see the performance impact.

oh, please. do you seriously think that if you don't have to type "self" yourself, Python will suddenly be able to turn all instance variables into local function variables without any performance overhead ?

Yes, exactly, since you can make the local namespace vs. instance attribute distinction in C.

Cheers, Ralf


Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com



More information about the Python-Dev mailing list