"urlopen" not thread safe
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Sat Mar 17 05:53:24 EDT 2007
En Thu, 15 Mar 2007 21:12:46 -0300, John Nagle <nagle at animats.com>
escribió:
> I was looking at the code for "urllib", and there's
> some undocumented "FTP cacheing" code in there that's not thread safe.
> The documentation for "urllib"
>
> Is there any good reason to keep that code in "urllib"?
> Unless something critical uses that undocumented feature,
> that code probably ought to come out. Comments?
Maybe the default should be None, like tempcache; anyone interested could
assign to the ftpcache instance attribute.
--
Gabriel Genellina
More information about the Python-list
mailing list