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 vstinner
Recipients benjamin.peterson, serhiy.storchaka, vstinner
Date 2017-09-20.13:39:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Python 3 is not affected by this bug.

In Python 3, the full I/O stack was rewritten from scratchn, the new io module has a different design. Reading ahead still exists in the io module, but it is now done by a dedicated object: io.BufferedReader, and this object uses a lock to prevent concurrent reads. A single thread controls the file position at the same time. (Except if a different thread uses directly the file descriptor, but that's a different story.)
Date User Action Args
2017-09-20 13:39:52vstinnersetrecipients: + vstinner, benjamin.peterson, serhiy.storchaka
2017-09-20 13:39:52vstinnersetmessageid: <>
2017-09-20 13:39:52vstinnerlinkissue31530 messages
2017-09-20 13:39:52vstinnercreate