STINNER Victor added the comment: Benjamin Peterson proposed attached patch.
@Benjamin: Would you mind to convert this patch to a PR to ease review? ---------- keywords: +patch nosy: +benjamin.peterson, serhiy.storchaka Added file: https://bugs.python.org/file47157/0001-stop-crashes-when-iterating-over-a-file-on-multiple-.patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31530> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com