This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients benjamin.peterson, gvanrossum, lemburg, pitrou, serhiy.storchaka, vstinner
Date 2017-09-25.09:45:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <c2c00eae-f69c-353c-b2ef-e037db35a5fc@free.fr>
In-reply-to <1506332394.65.0.883902900555.issue31530@psf.upfronthosting.co.za>
Content
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.
History
Date User Action Args
2017-09-25 09:45:03pitrousetrecipients: + pitrou, lemburg, gvanrossum, vstinner, benjamin.peterson, serhiy.storchaka
2017-09-25 09:45:03pitroulinkissue31530 messages
2017-09-25 09:45:03pitroucreate