Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

PR 27528 makes the C implementation of OrderedDict.popitem() consistent with 
the Python implementation (do not call overridden __getitem__ and __setitem__).

PR 27530 changes also both implementations of OrderedDict.pop(). It simplifies 
the C code, but adds a duplication of the code in Python.

I am not sure how far we should backport these changes if backport them.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue27275>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to