[Python-Dev] Final (final?) update to patch about socket timeout...

Facundo Batista facundo at taniquetil.com.ar
Fri Mar 23 18:55:13 CET 2007


...in socket.py and httplib.py, with tests and docs.

The patch is #1676823.

Basically what I did now is:

- Just put a timeout default to None. If None, skip settimeout() call.

- Copy the exceptions behaviour that we have actually in the higher
  level libraries, to be sure we aren't breaking anything.

- The function is now public, named "create_connection".

Regards,

-- 
.   Facundo
.
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/




More information about the Python-Dev mailing list