Urllib thread safe?

Aahz aahz at pythoncraft.com
Wed Jun 5 18:31:04 CEST 2002

In article <mailman.1023280808.19305.python-list at python.org>,
Marcel Opsteegh  <Marcel.Opsteegh at nob.nl> wrote:
>This message is in MIME format. Since your mail reader does not understand
>this format, some or all of this message may not be legible.

Please don't post MIME messages.  Use plain-text ASCII only.

>Does somebody know whether the urllib is thread safe? 
>I use the following call: urllib.URLopener().open(...)

It's safe as long as you don't share instances between threads.
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"In the end, outside of spy agencies, people are far too trusting and
willing to help."  --Ira Winkler

More information about the Python-list mailing list