[Python-Dev] Synchronous and Asynchronous servers in the standard
James Y Knight
foom at fuhm.net
Sun Nov 7 17:13:59 CET 2004
On Nov 6, 2004, at 6:05 PM, Josiah Carlson wrote:
> A recent patch to offer an SMTP server (SocketServer derivative)
> the below...
> Does we (and by 'we' I mean those in charge of developing Python) want
> to offer both asynchronous (deriving from asyncore, asynchat, etc.) and
> synchronous versions of server software in the standard library?
I'd like to introduce you to Twisted (http://www.twistedmatrix.com).
More cooperation and code-sharing between Twisted and Python core
developers would certainly be nice. But I don't think the right
direction to go for that is writing a bunch of half-assed async servers
in Python core. I guarantee you it isn't going to be trivial to do
nicely. There has been a small amount of discussion about contributing
parts of the Twisted core into Python, but so far no one has
volunteered to head that project. So, if you're interested, perhaps
you'd like to take it on. I suspect even that will be a lot of work --
you'd have to get consensus on which parts, if any, would be included.
Figure out acceptable solutions to versioning skew between twisted
releases and python's included copy. Etc.
More information about the Python-Dev