[issue28982] multiprocessing.Queue.get(block=True, timeout=0) always raises queue.Empty

Ryan Brindley report at bugs.python.org
Sun Dec 18 01:30:48 EST 2016


Ryan Brindley added the comment:

I've updated the PR to also include raising a ValueError for timeout values < 0.

This behavior mimics that of queue.Queue (noting here again that queue.Queue handles timeout = 0).

----------

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


More information about the Python-bugs-list mailing list