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: Revise FAQ Dictionary: consistent key order item
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, gwideman, python-dev
Priority: normal Keywords:

Created on 2013-11-27 04:32 by gwideman, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg204550 - (view) Author: Graham Wideman (gwideman) Date: 2013-11-27 04:32
FAQ entry:
http://docs.python.org/3/faq/programming.html#how-can-i-get-a-dictionary-to-display-its-keys-in-a-consistent-order
claims that there's no way for a dictionary to return keys in a consistent order. However, there's OrderedDict which should probably be mentioned here.
msg204551 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-27 05:06
New changeset 22e514e41fac by Benjamin Peterson in branch '3.3':
recommend OrderedDict for this FAQ (closes #19805)
http://hg.python.org/cpython/rev/22e514e41fac

New changeset ddbcb86afbdc by Benjamin Peterson in branch 'default':
merge 3.3 (#19805)
http://hg.python.org/cpython/rev/ddbcb86afbdc
History
Date User Action Args
2022-04-11 14:57:54adminsetgithub: 64004
2013-11-27 05:06:26python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg204551

resolution: fixed
stage: resolved
2013-11-27 04:32:09gwidemancreate