[Python-Dev] Small misleadingness in docs
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Feb 14 20:53:31 CET 2009
Terry Reedy wrote:
> The new (in 3.0 and maybe 2.6, but undocumented) special methods
> __instancecheck__ and __subclasscheck__ let one overload the default
> behavior of isinstance and issubclass.
That's fine for 3.0, but I don't think the current behaviour
should be removed from any 2.x version, as it would make
writing code that works over multiple 2.x versions difficult.
--
Greg
More information about the Python-Dev
mailing list