Serhiy Storchaka added the comment: Here is a patch that fixes an infinite loop reported in msg254071. May be this is not the best solution. It makes the behavior of Python and C implementation differ (the former just iterates a linked list, the latter raises an error). But to reproduce Python implementation behavior we need to add refcounters to linked list nodes.
---------- stage: commit review -> patch review Added file: http://bugs.python.org/file41398/odict_delitem_iter_hung.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24726> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com