This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author grzgrzgrz3
Recipients grzgrzgrz3
Date 2017-05-20.18:26:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495304810.94.0.132011659563.issue30414@psf.upfronthosting.co.za>
In-reply-to
Content
multiprocessing.Queue is running background thread feeder. Feeder serialize and sends buffered data to pipe. 

The issue is with exception handling, feeder is catching all exceptions but out of main loop, so after exception is handled feeder is not going back to loop - thread finish. If feeder thread is not running any Queue.put will execute without exceptions but message not gonna be delivered.

Solution is to move exception handling inside main loop. I will provide PR.

I have run performance tests (found: #17025) and submitted patch do not affect performance.
History
Date User Action Args
2017-05-20 18:26:50grzgrzgrz3setrecipients: + grzgrzgrz3
2017-05-20 18:26:50grzgrzgrz3setmessageid: <1495304810.94.0.132011659563.issue30414@psf.upfronthosting.co.za>
2017-05-20 18:26:50grzgrzgrz3linkissue30414 messages
2017-05-20 18:26:50grzgrzgrz3create