Message365816
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:01 | Sander Land | set | recipients:
+ Sander Land |
2020-04-05 10:55:01 | Sander Land | set | messageid: <1586084101.94.0.0680032285094.issue40195@roundup.psfhosted.org> |
2020-04-05 10:55:01 | Sander Land | link | issue40195 messages |
2020-04-05 10:55:01 | Sander Land | create | |
|