[issue27275] KeyError thrown by optimised collections.OrderedDict.popitem()

Raymond Hettinger report at bugs.python.org
Sun Aug 1 19:30:23 EDT 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

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

We've had no reports of the current code causing problems for any existing applications (except the LRU recipe in the docs), so there is likely no value in making backports.  Instead, we can clean it up so there won't be new issues going forward.

----------
versions:  -Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27275>
_______________________________________


More information about the Python-bugs-list mailing list