[issue35030] Python 2.7 OrderedDict creates circular references

tzickel report at bugs.python.org
Sun Oct 21 01:07:49 EDT 2018


tzickel <icebreak at yahoo.com> added the comment:

You can see the testing code here:

https://github.com/numpy/numpy/blob/eb40e161e2e593762da9c77858343e3720351ce7/n
umpy/testing/_private/utils.py#L2199

it calls gc.collect in the end and only throws this error if it returns a non zero return value from it (after clearing the gc before calling the test code).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35030>
_______________________________________


More information about the Python-bugs-list mailing list