Urllib thread safe?

Martin v. Loewis martin at v.loewis.de
Wed Jun 5 13:55:00 EDT 2002


Marcel Opsteegh <Marcel.Opsteegh at nob.nl> writes:

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

Yes, that is thread-safe. urllib does not maintain any per-url state,
nor does any of the underlying libraries.

Regards,
Martin




More information about the Python-list mailing list