[issue24667] OrderedDict.popitem()/__str__() raises KeyError

Eric Snow report at bugs.python.org
Thu Jul 30 16:43:46 CEST 2015


Eric Snow added the comment:

After some quick tests, it looks like during the tests only a single thread is used, so it is *not* threading-related.  That makes a bit more sense to me given the consistency.  Notwithstanding this development, I should be able to isolate the problem soon (when I can free up some time) given the information I have now.

FWIW, I've attached a file containing source that I added to requests/packages/urllib3/_collections.py while investigating.  In that same file I then set RecentlyUsedContainer.ContainerCls to _LoggingOrderedDict.

----------
Added file: http://bugs.python.org/file40068/logging_odict.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24667>
_______________________________________


More information about the Python-bugs-list mailing list