New submission from Roberto Martínez:
Hi, I detected that a ProcessPoolExecutor hangs if the object fails to
picklelize.
I attached the simplest code to reproduce the behavior. Note that the
interpreter should exit after the exception but it doesn't and hangs forever.
I tested with p
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
Roberto Martínez added the comment:
I think you misunderstood my explanation. My english is not very good, sorry.
I think that my previously attached file (mpqueuegetwrong.py) shows it better
than my words. In this file you can see that I am not calling qsize nor
get_nowait, only put and get
New submission from Roberto Martínez:
We face yesterday a bug in a project, and after a few hours of investigation we
found a bad/not documented behavior in multiprocessing.Queue.
If you put one or more items in a queue and if the items are large, there is a
delay between the put is executed