Xiang Zhang added the comment: Why not OrderedDict.popitem(last=False)? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28293> _______________________________________