[Python-3000] super(): issues [Was: Removing 'self' from method definitions]

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 19 14:22:34 CEST 2006


Nick Coghlan wrote:

> Hmm, the reference to Dylan's next method (along with a few other 
> comments in this thread) makes me believe a magic autosuper() equivalent 
> would really need to be based on a thread-local context, rather than any 
> kind of static code analysis.

Why? I don't see what could differ from one thread to
another that would make the "next method" be different.
Unless somehow there were thread-local inheritance
hierarchies or something bizarre like that. Even if
Dylan has them, I'm quite sure Python doesn't!

--
Greg


More information about the Python-3000 mailing list