Eric Snow added the comment: Here's a patch that tracks changes to the C OrderedDict linked list, similar to how it's done in deque. I've left the pure Python OrderedDict alone.
@Raymond, that state counter works great. :) ---------- keywords: +patch stage: test needed -> patch review Added file: http://bugs.python.org/file39610/issue24369-iteration-mutation.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24369> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com