Comment 1 for bug 1952551

Revision history for this message
sezanzeb (sezanzeb) wrote :

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.