urllib to cache 301 redirections?
O.R.Senthil Kumaran
orsenthil at users.sourceforge.net
Tue Jul 17 22:44:41 EDT 2007
* John Nagle <nagle at animats.com> [2007-07-16 12:34:00]:
> That assumes you're reusing the same object to reopen another URL.
>
> Is this thread-safe?
I don't know. I looked into few other cache requests (cache ftp) and saw how it was
implemented. I am not getting as how this wont be thread-safe.
>
> That's also an inefficient way to test for an empty dictionary.
>
How should it be done, otherwise? I am looking for alternative methods as
well.
--
O.R.Senthil Kumaran
http://uthcode.sarovar.org
More information about the Python-list
mailing list