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 <1505914792.63.0.648787523566.issue31530@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2017-09-20 13:39:52vstinnersetrecipients: + vstinner, benjamin.peterson, serhiy.storchaka
2017-09-20 13:39:52vstinnersetmessageid: <1505914792.63.0.648787523566.issue31530@psf.upfronthosting.co.za>
2017-09-20 13:39:52vstinnerlinkissue31530 messages
2017-09-20 13:39:52vstinnercreate