Author serhiy.storchaka
Recipients eric.snow, josh.r, kaniini, methane, python-dev, rhettinger, serhiy.storchaka, xiang.zhang, zach.ware
Date 2016-10-25.17:59:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477418392.38.0.714677118643.issue27275@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, what is the reason for this code!

But Python implementation of popitem() don't call overridden __getitem__/__delitem__. It uses dict.pop(). Simplified C implementation is closer to Python implementation.

expiringdict is not the only implementation broken by accelerated OrderedDict. See other example in issue28014.
History
Date User Action Args
2016-10-25 17:59:52serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, methane, python-dev, eric.snow, zach.ware, josh.r, xiang.zhang, kaniini
2016-10-25 17:59:52serhiy.storchakasetmessageid: <1477418392.38.0.714677118643.issue27275@psf.upfronthosting.co.za>
2016-10-25 17:59:52serhiy.storchakalinkissue27275 messages
2016-10-25 17:59:52serhiy.storchakacreate