classification
Title: Deadlocks in `concurrent.futures.ProcessPoolExecutor` with pickling error
Type: Stage:
Components: Library (Lib) Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: tomMoral
Priority: normal Keywords:

Created on 2017-10-05 07:41 by tomMoral, last changed 2017-10-05 07:41 by tomMoral.

Pull Requests
URL Status Linked Edit
PR 3895 open tomMoral, 2017-10-05 07:41
Messages (1)
msg303745 - (view) Author: Thomas Moreau (tomMoral) * Date: 2017-10-05 07:41
When using `concurrent.futures.ProcessPoolExecutor` with objects that are not picklable or unpicklable, several situations results in a deadlock, with the interpreter freezed.

This is the case for different scenario, for instance these three : https://gist.github.com/tomMoral/cc27a938d669edcf0286c57516942369

The different pickling/unpickling error and their effect should be tested in `test_concurrent_futures.py`
History
Date User Action Args
2017-10-05 07:41:45tomMoralcreate