python urllib2 thread safety
- by jldupont
Is urllib2 thread safe?
I find that using urllib2.urlopen sometimes results in the thread issuing the call to stop functioning. Yes I have used the timeout option to no avail.
Is there a thread safe HTTP GET functionality I could use?
NOTE: I am not interested in using Twisted to solve this problem. I have used Twisted in the past and I love it but this time I need a simpler solution.
NOTE2: I also tried httplib with the same result (blocking).