How to write a non blocking SimpleHTTPRequestHandler ?

Marko Rauhamaa marko at pacujo.net
Tue Feb 3 06:35:20 EST 2015


Chris Angelico <rosuav at gmail.com>:

> On Tue, Feb 3, 2015 at 10:04 PM, Yassine Chaouche
>> IIRC asyncio is python 3 only and I'm not ready yet to make the leap.
>
> Then you're stuck with whatever you have, because the Py2 standard
> library isn't being expanded any. Why not make the leap? Py3 has a lot
> of advantages over Py2.

I'm all for Py3, but I'm not ready to conclude asyncio is the way to go.
The coroutines haven't won me over. The programming model is quite messy
and simply weird.

So far I've been happy with select.epoll(), socket.socket() and ten
fingers.


Marko



More information about the Python-list mailing list