Ok sorry for the mail,
I found the solution by using deque.count(url) that's available
starting from python 2.7
On Fri, Oct 12, 2012 at 2:40 PM, Christophe Vandeplas
wrote:
> Hello,
>
> I have a question about deque and thread-safety.
>
> My application has multiple threads
Hello,
I have a question about deque and thread-safety.
My application has multiple threads running concurrently and doing the
same action (downloading pages)
To know what has already been downloaded I created the variable:
seen = deque('', 1000) (keeps list of max 1000 urls in memory)
In on