[Python-3000] Removing 'self' from method definitions

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 19 02:43:35 CEST 2006


Guido van Rossum wrote:

> - How would the function be given the attribute?
> At the time the
> function is being defined the class doesn't exist yet;

Good point. I'll have to think about that some more.

BTW, I'm not particularly advocating the idea -- I was
really just pointing out that there are difficulties
with auto-superclass-determination the way things
currently work. I'm happy to continue explicitly naming
my superclasses for the time being.

--
Greg


More information about the Python-3000 mailing list