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.

Author methane
Recipients methane, rhettinger, serhiy.storchaka
Date 2017-08-23.15:34:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503502492.97.0.25223981076.issue31265@psf.upfronthosting.co.za>
In-reply-to
Content
Another idea is making "dict preserves insertion order" as language spec.
There are still some difference between dict and odict: .move_to_end() and __eq__.

But most use cases of odict is just keep insertion order.
For example, parsing config file, json, or csv.
In such cases, people can get all benefits (less memory and faster creation, iteration and deallocation) of dict if it's guaranteed.
History
Date User Action Args
2017-08-23 15:34:53methanesetrecipients: + methane, rhettinger, serhiy.storchaka
2017-08-23 15:34:52methanesetmessageid: <1503502492.97.0.25223981076.issue31265@psf.upfronthosting.co.za>
2017-08-23 15:34:52methanelinkissue31265 messages
2017-08-23 15:34:52methanecreate