URLLIB2

Max M maxm at mxm.dk
Thu Jan 30 04:58:48 EST 2003


Pigio® wrote:
> Ok, but when urllib2 complete the connections normally returns a response
> (also the exception). In my case urllib2 remains on  expectation mode
> (doesn't return).


That is probably beause the connection hangs.

There is a module called "timeoutsocket" or something like that, wich 
stops the connetction after a certain time.

Try Google

-- 

hilsen/regards Max M Rasmussen, Denmark

http://www.futureport.dk/
Fremtiden, videnskab, skeptiscisme og transhumanisme





More information about the Python-list mailing list