]> granicus.if.org Git - python/commit
bpo-31699 Deadlocks in `concurrent.futures.ProcessPoolExecutor` with pickling error...
authorThomas Moreau <thomas.moreau.2010@gmail.com>
Fri, 5 Jan 2018 10:15:54 +0000 (11:15 +0100)
committerAntoine Pitrou <pitrou@free.fr>
Fri, 5 Jan 2018 10:15:54 +0000 (11:15 +0100)
commit94459fd7dc25ce19096f2080eb7339497d319eb0
tree7623769fafc2025884ac9a8b1a41e2f0ba5f13db
parent65f2a6dcc2bc28a8566b74c8e9273f982331ec48
bpo-31699 Deadlocks in `concurrent.futures.ProcessPoolExecutor` with pickling error (#3895)

Fix deadlocks in :class:`concurrent.futures.ProcessPoolExecutor` when task arguments or results cause pickling or unpickling errors.
This should make sure that calls to the :class:`ProcessPoolExecutor` API always eventually return.
Lib/concurrent/futures/process.py
Lib/multiprocessing/queues.py
Lib/test/_test_multiprocessing.py
Lib/test/test_concurrent_futures.py
Misc/NEWS.d/next/Library/2017-10-05-11-06-32.bpo-31699.MF47Y6.rst [new file with mode: 0644]