➜

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.

作者 akira
收信人 Andrew.Boettcher, ajaksu2, akira, astrand, cvrebert, ericpruitt, eryksun, giampaolo.rodola, janzert, josiahcarlson, ooooooooo, parameter, r.david.murray, rosslagerwall, sbt, techtonik, v+python
日期 2014-04-07.14:33:12
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1396881193.11.0.31112538042.issue1191964@psf.upfronthosting.co.za>
In-reply-to
内容
> Also, Richard Oudkerk's claims above about not needing to use fcntl to swap flags is not correct. It's necessary to not block on reading, even if select is used. Select just guarantees that there is at least 1 byte or a closed handle, not that your full read will complete.

On Linux, `fcntl` is not necessary if you use `os.read(pipe, bufsize)` after `select` instead of `pipe.read(bufsize)`. `os.read` may just return less than `bufsize` bytes if they are not available.
历史
日期 用户 动作 参数
2014-04-07 14:33:13akira修改recipients: + akira, josiahcarlson, astrand, parameter, techtonik, giampaolo.rodola, ajaksu2, ooooooooo, v+python, r.david.murray, cvrebert, ericpruitt, Andrew.Boettcher, rosslagerwall, sbt, janzert, eryksun
2014-04-07 14:33:13akira修改messageid: <1396881193.11.0.31112538042.issue1191964@psf.upfronthosting.co.za>
2014-04-07 14:33:13akira链接issue1191964 messages
2014-04-07 14:33:12akira创建