➜

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.

作者 loewis
收信人 amaury.forgeotdarc, benjamin.peterson, loewis, pitrou
日期 2008-08-14.20:08:27
SpamBayes Score 2.4354501e-06
Marked as misclassified 否
Message-id <1218744509.03.0.845959818982.issue3476@psf.upfronthosting.co.za>
In-reply-to
内容
The patch looks fine (as far as it goes).

I do think the same should be done to the reader: IO libraries typically
provide a promise that concurrent threads can read, and will get the
complete stream in an overlapped manner (i.e. each input byte goes to
exactly one thread - no input byte gets lost, and no input byte is
delivered to multiple threads). I don't think this is currently the
case: two threads reading simultaneously may very well read the same
bytes twice, and then, subsequently, skip bytes (i.e. when both
increment _read_pos, but both see the original value of pos)
历史
日期 用户 动作 参数
2008-08-14 20:08:29loewis修改recipients: + loewis, amaury.forgeotdarc, pitrou, benjamin.peterson
2008-08-14 20:08:29loewis修改messageid: <1218744509.03.0.845959818982.issue3476@psf.upfronthosting.co.za>
2008-08-14 20:08:28loewis链接issue3476 messages
2008-08-14 20:08:27loewis创建