[issue16991] Add OrderedDict written in C
Eric Snow
report at bugs.python.org
Wed Jun 5 04:26:36 CEST 2013
Eric Snow added the comment:
Here's one solution to the deletion-during-iteration problem. It makes the iterators track the key rather than the node, at the expense of a sliver of speed on __iter__() and keys().
----------
Added file: http://bugs.python.org/file30467/cOrderedDict-iterators-by-key.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16991>
_______________________________________
More information about the Python-bugs-list
mailing list