[issue16104] Use multiprocessing in compileall script

Claudiu.Popa report at bugs.python.org
Thu Mar 13 18:48:33 CET 2014


Claudiu.Popa added the comment:

Here's a new version which catches ImportError for concurrent.futures and raises ValueError in `compile_dir` if `processes` was specified and concurrent.futures is unavailable. The only issue is that I don't know if this should be a ValueError or not. For instance, zipfile uses RuntimeError if `lzma` is unavailable.

----------
Added file: http://bugs.python.org/file34401/issue16104_6.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16104>
_______________________________________


More information about the Python-bugs-list mailing list