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 serhiy.storchaka
Recipients methane, rhettinger, serhiy.storchaka
Date 2017-08-23.14:37:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503499066.49.0.615402161537.issue31265@psf.upfronthosting.co.za>
In-reply-to
Content
I like the idea. Actually I wanted to write such patch myself, but this is very delicate thing and needs to be very careful. The largest benefit is not just memory saving and performance, but robustness. Currently it is easy to went OrderedDict in incorrect state by using pure dict API. This can cause crashes, hangs or invalid bahavior (see issue24726 and issue25410). The new implementation should pass all existing tests and also fix the above issues.

See also issue28239. lru_cache uses simplified version of ordered dict.
History
Date User Action Args
2017-08-23 14:37:46serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, methane
2017-08-23 14:37:46serhiy.storchakasetmessageid: <1503499066.49.0.615402161537.issue31265@psf.upfronthosting.co.za>
2017-08-23 14:37:46serhiy.storchakalinkissue31265 messages
2017-08-23 14:37:46serhiy.storchakacreate