]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29877: compileall: import ProcessPoolExecutor only when needed (GH-4856)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 23 Nov 2018 17:41:54 +0000 (09:41 -0800)
committerGitHub <noreply@github.com>
Fri, 23 Nov 2018 17:41:54 +0000 (09:41 -0800)
commit903a3e8d67b61594c0fa17fb201769ca924b38f8
tree2cb001be221091ed6c1494169fec9322be61ced0
parent01e579949ab546cd4cdd0d6d18e3ef41ce94f46e
bpo-29877: compileall: import ProcessPoolExecutor only when needed (GH-4856)

Importing ProcessPoolExecutor may hang or cause an error when the import
accesses urandom on a low resource platform

https://bugs.python.org/issue29877
(cherry picked from commit 1d817e4c8259f49602eefe9729743f6d9d748e8d)

Co-authored-by: Dustin Spicuzza <dustin@virtualroadside.com>
Lib/compileall.py
Lib/test/test_compileall.py
Misc/NEWS.d/next/Library/2017-12-16-11-40-52.bpo-29877.SfWhmz.rst [new file with mode: 0644]