Stopping a python thread

Andrew Markebo andrew.markebo at telelogic.com
Thu Oct 19 18:00:36 EDT 2000


/ Oleg Broytmann <phd at phd.russ.ru> wrote:
|
|  [...]
|
|    But what if a thread just waited for some event and cannot return? For
| example, a thread that uses urllib to retrieve a file and urllib just
| hangs; you know, urllib is pretty bad regarding timeouts :(

You use an alternative to urllib, that uses a select-loop for reading
:-) Get in touch with me and I can see if I can dig up the latest of
my httpp.py and socketp.py modules for you :-)

        /Andy



More information about the Python-list mailing list