[Zope] timeoutsocket.py with zope?
Júlio Dinis Silva
juliodinis@hotmail.com
Thu, 22 Mar 2001 00:21:48 -0000
Hi,
has anyone put timeoutsocket.py
(http://www.timo-tasi.org/python/timeoutsocket.py)
to work with zope?
For instance, doing an external method that fetchs a site
with httplib but add in the code a import of timeoutsocket
and setting the default timeout, something like this:
import timeoutsocket
import httplib
imeoutsocket.setDefaultSocketTimeout(20)
H = httplib.HTTP("www.python.org")
...
Regards,
Julio Dinis Silva
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.