Message279433
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. |
|
Date |
User |
Action |
Args |
2016-10-25 17:59:52 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, methane, python-dev, eric.snow, zach.ware, josh.r, xiang.zhang, kaniini |
2016-10-25 17:59:52 | serhiy.storchaka | set | messageid: <1477418392.38.0.714677118643.issue27275@psf.upfronthosting.co.za> |
2016-10-25 17:59:52 | serhiy.storchaka | link | issue27275 messages |
2016-10-25 17:59:52 | serhiy.storchaka | create | |
|