[issue2115] __slots__ make attribute setting 10x slower

Thomas Heller report at bugs.python.org
Thu Feb 14 21:55:49 CET 2008


Thomas Heller added the comment:

PyObject_IsSubclass() has the same problem.

BTW; calling PyObject_GetAttr() with interned strings for
"__instancecheck__" and "__subclasscheck__" brings not enough speedup.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2115>
__________________________________


More information about the Python-bugs-list mailing list