[issue9825] OrderedDict ref cycles cause memory leak

Raymond Hettinger report at bugs.python.org
Fri Sep 10 21:38:36 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

This is an unfortunate aspect of using __del__.
I don't see a way around it without reintroducing
weak references.

Of course, your code can also use weak ref proxies
to avoid creating uncollectible circular garbage.

----------
priority: normal -> low

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


More information about the Python-bugs-list mailing list