[issue32338] Save OrderedDict import in re

INADA Naoki report at bugs.python.org
Mon Dec 18 01:20:59 EST 2017


INADA Naoki <songofacandy at gmail.com> added the comment:

Please don't do this.
del d[next(iter(d))] is not O(1) on current dict implementation.
OrderedDict is designed for such use cases. Please keep using it.

----------
nosy: +inada.naoki

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


More information about the Python-bugs-list mailing list