[pypy-issue] [issue1353] Weakrefs to builtin types sometimes don't work

Armin Rigo tracker at bugs.pypy.org
Mon Jan 7 22:50:07 CET 2013


Armin Rigo <armin.rigo at gmail.com> added the comment:

It's a GC bug: a weakref to a prebuilt object will become dead at the next major
collection if it points to an object that has never been modified.  It's
probably possible to expose the bug with other types of objects than 'type', but
for 'type', it is revealed by 3ef72b75102b because we no longer store a value
dynamically on built-in types --- and so types like 'list' are no longer
modified.  Argh.

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1353>
________________________________________


More information about the pypy-issue mailing list