Speed up with threads

Tim Lavoie tool_man at spamcop.net
Tue Aug 6 17:29:57 EDT 2002


In article <mailman.1028665452.29360.python-list at python.org>, Michael Gilfix wrote:
>   Tim O'Maelleys' timeoutsocket module is no longer needed as of 2.3
> (the current CVS). The timeoutsocket functionality has been integrated
> into the existing socket library.
> 
>  >>> import socket
>  >>> f = socket.socket ()
>  >>> # Set a 2.3 second timeout
>  >>> f.set_timeout (2.3)
>  >>> # Disable timeout
>  >>> f.set_timeout (None)

Excellent! That may not help the original poster if he wasn't using the
current CVS version though.



More information about the Python-list mailing list