[Web-SIG] Async API for Python

Manlio Perillo manlio_perillo at libero.it
Wed Sep 10 20:47:53 CEST 2008


Jerry Spicklemire ha scritto:
> Sorry, if this turns up twice ...
> 
> Phillip J. Eby wrote, on Tue Jul 29 03:21:18 CEST 2008:
> 
> "There is no async API that's part of WSGI itself, and it's
> unlikely there will ever be one unless there ends up
> being an async API for Python as well."
> 
> http://mail.python.org/pipermail/web-sig/2008-July/003547.html
> 
> 
> Following up, perhaps this would be of interest:
> 
> "New PEP proposal: C Micro-Threading"
> 
> "This PEP adds micro-threading (or 'green threads')
> at the C level so that micro-threading is built in and
> can be used with very little coding effort at the python
> level.
> 

Personally I think that implementing a standard reactor in Python is bad.
The Micro-Threading should just offer an API, like Twisted Deferred, 
generators and greenlets do; the reactor should be implemented separately.

 > [...]


Manlio Perillo


More information about the Web-SIG mailing list