Message116036
Circular graphs of collections.OrderedDict are uncollectable due to the presence of OrderedDict.__del__.
>>> from collections import OrderedDict
>>> import gc
>>> left, right = OrderedDict(), OrderedDict()
>>> left['other'] = right
>>> right['other'] = left
>>> assert not gc.garbage
>>> del left, right
>>> gc.collect()
10
>>> assert not gc.garbage
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError
Not an issue in 3.1.1, have not verified with 3.1.2. |
|
Date |
User |
Action |
Args |
2010-09-10 19:04:04 | jek | set | recipients:
+ jek |
2010-09-10 19:04:04 | jek | set | messageid: <1284145444.07.0.163314050875.issue9825@psf.upfronthosting.co.za> |
2010-09-10 19:04:02 | jek | link | issue9825 messages |
2010-09-10 19:04:02 | jek | create | |
|