]> 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:53:17 +0000 (09:53 -0800)
committerGitHub <noreply@github.com>
Fri, 23 Nov 2018 17:53:17 +0000 (09:53 -0800)
commit879f5f3d9c1f5b66e2a080c712e2323e9c03d558
tree70bb02279dc67d25b22c3de13ef049adf8b19bf8
parent832da879a62a2cbda758edf1a357da63aad94276
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]