Comment 7 for bug 1750777

Brian Haley (brian-haley) wrote :

So one thing I think I noticed is that queue.get() can throw an exception, even though it's blocking. The reason is that the Queue (actually LightQueue) class is actually based on collections.queue, and from it's doc page (get is implemented by popleft):

popleft()
    Remove and return an element from the left side of the deque. If no elements are present, raises an IndexError.

So there is a possible race there. I'll update my change based on that.