This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Out-of-date comment in collections/__init__.py ordered dict
Type: Stage:
Components: Library (Lib) Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: Jim.Jewett, python-dev, rhettinger
Priority: low Keywords: patch

Created on 2012-01-26 04:59 by Jim.Jewett, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
collections_init.patch Jim.Jewett, 2012-01-26 04:59
Messages (3)
msg151996 - (view) Author: Jim Jewett (Jim.Jewett) * (Python triager) Date: 2012-01-26 04:59
http://hg.python.org/cpython/file/tip/Lib/collections/__init__.py#l37 states that the prev/next links are weakref proxies; as of http://hg.python.org/cpython/diff/3977dc349ae7/Lib/collections.py this is no longer true of the next links.  

It could be fixed by changing

# The prev/next links are weakref proxies (to prevent circular references).

to 

# The prev links are weakref proxies (to prevent circular references).
msg151999 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2012-01-26 07:52
This patch is fine.  Anyone can feel free to apply it to Py3.2 and Py3.3 if I don't get to it first.
msg152000 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-01-26 08:15
New changeset f7283825effa by Raymond Hettinger in branch '3.2':
Issue 13870: Fix out of date comment.
http://hg.python.org/cpython/rev/f7283825effa
History
Date User Action Args
2022-04-11 14:57:26adminsetgithub: 58078
2012-01-26 08:19:22rhettingersetstatus: open -> closed
resolution: fixed
2012-01-26 08:15:46python-devsetnosy: + python-dev
messages: + msg152000
2012-01-26 07:52:55rhettingersettitle: false comment in collections/__init__.py ordered dict -> Out-of-date comment in collections/__init__.py ordered dict
messages: + msg151999
versions: + Python 3.2, Python 3.3
2012-01-26 07:49:45rhettingersetpriority: normal -> low
assignee: rhettinger

nosy: + rhettinger
2012-01-26 04:59:33Jim.Jewettcreate