[Python-Dev] SocketServer issues

Antoine Pitrou solipsis at pitrou.net
Wed Mar 14 17:29:47 CET 2012


On Wed, 14 Mar 2012 12:17:06 -0400
PJ Eby <pje at telecommunity.com> wrote:
> 
> > So, my first question is:  Why not simply rely on the already built-in
> > timeout
> > > support in the socket module?
> >
> > In case you didn't notice, the built-in timeout support *also* uses
> > select().
> >
> 
> That's not really the point; the frameworks that implement nonblocking I/O
> by replacing the socket module (and Stackless is only one of many) won't be
> using that code.

Then they should also replace the select module.
Again, I don't think SocketServer (or any other stdlib module) should
be designed in this regard.

Regards

Antoine.


More information about the Python-Dev mailing list