[Python-Dev] Adding timeout to socket.py and httplib.py - Updated
facundo at taniquetil.com.ar
Wed Mar 21 17:31:45 CET 2007
I updated the patch #1676823, reflecting discussion here:
- The function name changed, now it's _create_connection(). Its
signature also changed: now, timeout is mandatorily named.
- HTTPConnection has the posibility to call timeout with a number, and
also with None. In both cases, it updates sock.timeout (changing
effectively the default timeout).
Docs and tests cases are also updated (note: now there's no doc in
libsocket.tex, as this function is now private).
More information about the Python-Dev