diff options
author | Thomas Moreau <thomas.moreau.2010@gmail.com> | 2017-10-03 09:53:17 (GMT) |
---|---|---|
committer | Antoine Pitrou <pitrou@free.fr> | 2017-10-03 09:53:17 (GMT) |
commit | e8c368df22c344183627e7ef882bea1683fe6dbe (patch) | |
tree | 3023a6313e5eab67c87cf1ccfb3e13e8c524ea77 /Misc | |
parent | efb560eee28b6b2418e1231573ca62574d6dc07b (diff) | |
download | cpython-e8c368df22c344183627e7ef882bea1683fe6dbe.zip cpython-e8c368df22c344183627e7ef882bea1683fe6dbe.tar.gz cpython-e8c368df22c344183627e7ef882bea1683fe6dbe.tar.bz2 |
bpo-31540: Allow passing multiprocessing context to ProcessPoolExecutor (#3682)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-09-22-16-02-00.bpo-31540.ybDHT5.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-22-16-02-00.bpo-31540.ybDHT5.rst b/Misc/NEWS.d/next/Library/2017-09-22-16-02-00.bpo-31540.ybDHT5.rst new file mode 100644 index 0000000..0b4259f --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-09-22-16-02-00.bpo-31540.ybDHT5.rst @@ -0,0 +1,4 @@ +Allow passing a context object in +:class:`concurrent.futures.ProcessPoolExecutor` constructor. +Also, free job ressources in :class:`concurrent.futures.ProcessPoolExecutor` +earlier to improve memory usage when a worker waits for new jobs. |