[Python-3000] PEP 3124 - Overloading, Generic Functions, Interfaces, etc. (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue May 15 13:25:36 CEST 2007


Phillip J. Eby wrote:

Imagine what would happen if the results of calling super() depended on what order your modules had been imported in!

Actually, something like this does happen with super. You can't be sure which method super() will call when you write it, because it depends on what other classes people inherit along with your class, and what order they're in.

-- Greg



More information about the Python-3000 mailing list