Message398713
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(). |
|
Date |
User |
Action |
Args |
2021-08-01 16:51:37 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, methane, python-dev, eric.snow, zach.ware, josh.r, xiang.zhang, kaniini, Dennis Sweeney |
2021-08-01 16:51:37 | serhiy.storchaka | set | messageid: <1627836697.29.0.635760150557.issue27275@roundup.psfhosted.org> |
2021-08-01 16:51:37 | serhiy.storchaka | link | issue27275 messages |
2021-08-01 16:51:37 | serhiy.storchaka | create | |
|