Inada Naoki <[email protected]> added the comment:

> But `dict.popitem()` returns the last item in the insertion order. The item 
> must be the last item of collision chain too.

This assumption was wrong. Inserting new item may overwrite dummy entry. In 
this case, the last item in the middle of collision chain.

----------
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42216>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to