title: Python Queue.get(block=False) with non-empty Queue. Can it raise Queue.empty?
body: <p>I'm using python's Queue.Queue to synchronize several threads. First, a Queue is populated with N elements, as in</p>
  
  <pre><code>N = 10
  q = Queue.Queue()
  for i in range(N):
    q.put(i)
  </code></pre>
  
  <p>Then, several threads consume the elements from the queue with block=False</p>
  
  <pre><code>q.get(block=False)
  </code></pre>
  
  <p>My question is: can the previous call to Queue.get() raise Queue.Empty in any of the first N calls?</p>
  
  <p>Thanks!</p>