]> granicus.if.org Git - python/commit
bpo-29877: compileall: import ProcessPoolExecutor only when needed (GH-4856)
authorDustin Spicuzza <dustin@virtualroadside.com>
Fri, 23 Nov 2018 17:06:55 +0000 (12:06 -0500)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 23 Nov 2018 17:06:55 +0000 (09:06 -0800)
commit1d817e4c8259f49602eefe9729743f6d9d748e8d
treea61b355b3a005f4f69015f24150af36a393a8b33
parent9de363271519e0616f4a7b59427057c4810d3acc
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
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]