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.

作者 pitrou
收信人 Andrew.Grover, baikie, brian, exarkun, giampaolo.rodola, jackdied, neologix, pitrou, rosslagerwall, synapse, therve, vstinner, wiml
日期 2011-06-05.11:21:20
SpamBayes Score 4.3739296e-10
Marked as misclassified
Message-id <1307272877.3540.0.camel@localhost.localdomain>
In-reply-to <BANLkTimFzrUXGCU=wMCTUA0ad69w84Tv8g@mail.gmail.com>
内容
> > What needs to happen to get recvmsg() supported in Python?
> 
> Well, I guess that the only reason is that no committer is motivated
> enough to bring this into Python: it's a rather large patch, and
> honestly, I'm not sure that many people are going to use it.
> The feature I personally like the most about sendmsg/recvmsg is the
> ability to do scatter-gather I/O, but if the performance is critical,
> then I won't be using Python.
> I know that sendmsg also has some other advantages (passing FDs,
> ancillary data...).

Modules/_multiprocessing already has code using sendmsg/recvmsg,
precisely to pass FDs IIRC.
Generic support for sendmsg() and recvmsg() in the socket module would
allow to rewrite that code in pure Python.
历史
日期 用户 动作 参数
2011-06-05 11:21:21pitrou修改recipients: + pitrou, exarkun, therve, vstinner, jackdied, baikie, giampaolo.rodola, synapse, Andrew.Grover, wiml, neologix, rosslagerwall, brian
2011-06-05 11:21:20pitrou链接issue6560 messages
2011-06-05 11:21:20pitrou创建