Amaury Forgeot d'Arc added the comment: The issue seems similar to the one we had in ctypes when the method attribute cache was implemented.
Ctypes was corrected in r59943. Maybe similar changes are needed for this extension. For example, PyDict_SetItemString (AbstractGCProtector_Type.tp_dict, "default", new_protector) should be modified like this: PyObject_SetAttr(AbstractGCProtector_Type, "default", new_protector) ---------- nosy: +amaury.forgeotdarc __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1878> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com