[Python-Dev] Adding timeout to socket.py and httplib.py

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 23 02:07:55 CET 2007

Guido van Rossum wrote:

> It's unlikely to be granted. ... The Python call just wraps the
 > system call which has a similar API.

What about letting it accept both?

Maintaining strict consistency with the C API here
at the cost of causing pain on almost all uses of
the function seems to be a case of purity beating


More information about the Python-Dev mailing list