[issue23582] multiprocessing.Queue.get is not getting all the items in the queue

Roberto Martínez report at bugs.python.org
Wed Mar 4 22:33:34 CET 2015


Roberto Martínez added the comment:

That's not my point.

To my understanding, when you put a item in the queue the item *must* be available to get in the next call. So I think put should block until the item is really in the queue so when you call get it return *always* and not some times (depending on the item size).

If this is not the expected behavior I think it should be warned in the put/get method.

----------

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


More information about the Python-bugs-list mailing list