[Python-ideas] The async API of the future

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Oct 21 01:26:04 CEST 2012

Glyph wrote:

> The main interfaces you need are here:
> <http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.ITransport.html>
> <http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IProtocol.html>
> <http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IConsumer.html>
> <http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IProducer.html>

These don't look anywhere near adequate to me. How do I make
a sendmsg() call on a unix-domain socket and pass access rights
over it? How do I do a readdir() on a file descriptor representing
a directory? Etc.


More information about the Python-ideas mailing list