[issue1700288] Armin's method cache optimization updated for Python 2.6

Amaury Forgeot d'Arc report at bugs.python.org
Mon Jan 14 02:11:46 CET 2008


Amaury Forgeot d'Arc added the comment:

For the record:
It is very wrong to call self->ob_type->tp_base's slot: slots are often
copied from their base class, and you get infinite recursion.
Calling StructType.tp_base->tp_setattro is much better.

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1700288>
_____________________________________


More information about the Python-bugs-list mailing list