[issue2303] isinstance is 4x as slow as in 2.5 because the common case raises
Thomas Heller
report at bugs.python.org
Wed Apr 2 11:48:55 CEST 2008
Thomas Heller <theller at ctypes.org> added the comment:
Issue #2534 has a patch which speeds up isinstance and issubclass by
implementing type.__instancecheck__ and type.__subclasscheck__.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2303>
__________________________________
More information about the Python-bugs-list
mailing list