Concurrent.futures ProcessPoolExecutor Example does not work in Python 3.14
Discussions on Python.org
Concurrent.futures ProcessPoolExecutor Example does not work in Python 3.14
The example code for the ProcessPoolExecutor listed on the concurrent.futures page does not actually run on Python 3.14 (I only tested on Linux). This seems to be caused by the change of the start method away from fork as mentioned in a change notice further up on the page. I must say I don’t fully understand why the code would not work and find it a bit odd. Changing the start method to fork fixes the issue. Here is a quick example I used to test: podman run -it docker.io/python:3.14 python3 ...
0 comments
No comments yet.