[New-bugs-announce] [issue29119] Unintentional hard reference assignment in Python version of OrderedDict.move_to_end

Raymond Hettinger report at bugs.python.org
Sat Dec 31 01:11:43 EST 2016


New submission from Raymond Hettinger:

The root.prev and first.prev assignments should use weak references rather than hard references.  Spotted by Andra Bogildea.

----------
components: Library (Lib)
files: od_proxy.diff
keywords: patch
messages: 284367
nosy: rhettinger
priority: normal
severity: normal
status: open
title: Unintentional hard reference assignment in Python version of OrderedDict.move_to_end
type: resource usage
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file46097/od_proxy.diff

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


More information about the New-bugs-announce mailing list