[Python-Dev] Should we do away with unbound methods in Py3k? (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 22 03:48:12 CET 2007


Phillip J. Eby wrote:

The lookup sequence should probably be something like:

1. type(ob) is cls 2. issubclass(type(ob), cls)

But can't issubclass be overridden as well?

-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list