Author inada.naoki
Recipients inada.naoki, 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:53inada.naokisetrecipients: + inada.naoki, rhettinger, serhiy.storchaka
2017-08-23 15:34:52inada.naokisetmessageid: <1503502492.97.0.25223981076.issue31265@psf.upfronthosting.co.za>
2017-08-23 15:34:52inada.naokilinkissue31265 messages
2017-08-23 15:34:52inada.naokicreate