[issue3138] Hang when calling get() on an empty queue in the queue module

Benjamin Peterson report at bugs.python.org
Thu Jun 19 14:49:03 CEST 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

It's intended that Queue.get blocks until something is put on the Queue.
If you don't want it to block use Queue.get(False).

----------
nosy: +benjamin.peterson
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3138>
_______________________________________


More information about the Python-bugs-list mailing list