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 Dennis Sweeney, eric.snow, josh.r, kaniini, methane, python-dev, rhettinger, serhiy.storchaka, xiang.zhang, zach.ware
Date 2021-08-01.16:51:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627836697.29.0.635760150557.issue27275@roundup.psfhosted.org>
In-reply-to
Content
It is complicated. The pure Python implementation of OrderedDict.popitem() and OrderedDict.pop() are not consistent. The former uses dict.pop() which doesn't call __getitem__ and __setitem__. The latter calls __getitem__ and __setitem__. The C implementation shared code between popitem() and pop(), therefore it will differ from the pure Python implementation until we write separate code for popitem() and pop().
History
Date User Action Args
2021-08-01 16:51:37serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, methane, python-dev, eric.snow, zach.ware, josh.r, xiang.zhang, kaniini, Dennis Sweeney
2021-08-01 16:51:37serhiy.storchakasetmessageid: <1627836697.29.0.635760150557.issue27275@roundup.psfhosted.org>
2021-08-01 16:51:37serhiy.storchakalinkissue27275 messages
2021-08-01 16:51:37serhiy.storchakacreate