[issue2325] isinstance(anything, MetaclassThatDefinesInstancecheck) raises instead of returning False
Pedro Werneck
report at bugs.python.org
Sat May 3 02:00:42 CEST 2008
Pedro Werneck <pjwerneck at gmail.com> added the comment:
Seems like that's the wrong usage and the PEP 3119 notices that it's
hard to get the right semantics. To use it that way you need to define
the methods as a classmethod().
http://www.python.org/dev/peps/pep-3119/#one-trick-ponies
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2325>
__________________________________
More information about the Python-bugs-list
mailing list