Serhiy Storchaka added the comment: > Why not OrderedDict.popitem(last=False)?
Yes, this should work. Here is a patch. ---------- Added file: http://bugs.python.org/file44855/re_cache_ordered_dict_popitem.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28293> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com