[issue3100] weakref subclass segfault

Amaury Forgeot d'Arc report at bugs.python.org
Fri Jun 13 12:08:32 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

It seems enough to simply skip deleted weakrefs in PyObject_ClearWeakRefs.
Here is a tentative patch.

Added file: http://bugs.python.org/file10615/weakref_cycle.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3100>
_______________________________________


More information about the Python-bugs-list mailing list