Antoine Pitrou added the comment: Le 25/09/2017 à 11:39, STINNER Victor a écrit : > > Antoine: "I'm wary of raising an exception. Assuming Benjamin's patch is > correct, I vote for it." > > Can you please elaborate? You are fine with the fact that iter(file) in two > thread can return the same line?
AFAIU it already could. Iteration on Python 2 files is fragile, now is not the time to fix fundamental bugs in Python 2. ---------- _______________________________________ 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