Guido van Rossum added the comment: So should we just add
if (!gc) break; at the top of the for-loop body? That prevents the crash for me. But why is it needed? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21435> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com