[issue29119] Unintentional hard reference assignment in Python version of OrderedDict.move_to_end

Raymond Hettinger report at bugs.python.org
Sat Dec 31 02:33:17 EST 2016


Raymond Hettinger added the comment:

I'm leaving this for Andra Bogildea to work through and comment on.  

Testing is likely to be awkward at best.  It would involve white box implementation specific steps like accessing the name managed variables and rotating through the doubly linked list to verify that all the prev-links have the type, <class 'weakproxy'>.

----------

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


More information about the Python-bugs-list mailing list