Eric Snow added the comment:

@Mark, note that you get the same behavior with the pure Python OrderedDict.  
Calling dict.* methods on an OrderedDict gives you undefined behavior.  I 
expect the same is true for most subclasses of builtin types that override 
builtin methods.

Anyway, the problem with using dict.* methods with OrderedDict is a separate 
issue from the bug with pop/popitem reported here.  I've opened issue24721 to 
address the former.

----------

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

Reply via email to