Author Sander Land
Recipients Sander Land
Date 2020-04-05.10:55:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The multiprocessing Queue uses a thread to pickle and send the object after a call to put. When pickling fails (e.g. due to recursion depth) the exception is not returned to the caller to .put but instead dumped on the screen, leaving any multiprocessing pools in a very unhappy state.

Suggested fix: pickle the object in the same thread as the caller and send the pickled object to the thread, ensuring the caller to .put can catch the exception.

Sad workaround: (un)pickle anything sent via this queue yourself.
Date User Action Args
2020-04-05 10:55:01Sander Landsetrecipients: + Sander Land
2020-04-05 10:55:01Sander Landsetmessageid: <>
2020-04-05 10:55:01Sander Landlinkissue40195 messages
2020-04-05 10:55:01Sander Landcreate