]> granicus.if.org Git - python/commit
Issue #16104: Allow compileall to do parallel bytecode compilation.
authorBrett Cannon <brett@python.org>
Fri, 12 Sep 2014 14:39:48 +0000 (10:39 -0400)
committerBrett Cannon <brett@python.org>
Fri, 12 Sep 2014 14:39:48 +0000 (10:39 -0400)
commitf1a8df0ac984162795815aae6696155fcd22fdfb
tree7f2793a0d8e402bc6ed122436af0225e2e8269ce
parenta56411e5d4c91027c65780c8bdc81dd943cd9c87
Issue #16104: Allow compileall to do parallel bytecode compilation.

Both compileall.compile_dir() and the CLI for compileall now allow for
specifying how many workers to use (or 0 to use all CPUs).

Thanks to Claudiu Popa for the patch.
Doc/library/compileall.rst
Doc/whatsnew/3.5.rst
Lib/compileall.py
Lib/test/test_compileall.py