Seems odd, the queue object (self.pending) should not allow this
>>> from queue import Queue >>> q = Queue() >>> q.put(1) >>> q.put(2) >>> q.put(3) >>> q.get() 1 >>> q.get() 2 >>> q.get() 3 >>> q.qsize() 0
afterwards .get() would block.
Seems odd, the queue object (self.pending) should not allow this
>>> from queue import Queue
>>> q = Queue()
>>> q.put(1)
>>> q.put(2)
>>> q.put(3)
>>> q.get()
1
>>> q.get()
2
>>> q.get()
3
>>> q.qsize()
0
afterwards .get() would block.