[issue21338] Silent mode for compileall

Thomas Kluyver report at bugs.python.org
Thu Apr 24 03:14:22 CEST 2014


Thomas Kluyver added the comment:

Patch attached.

This works by making the -q flag countable, so you pass -qq to suppress all output. In the Python API, the quiet parameter has become an integer, so passing 2 is equivalent to -qq. This should be fully backwards compatible with passing True and False, which are equivalent to 1 and 0.

----------
keywords: +patch
type: enhancement -> 
Added file: http://bugs.python.org/file35012/compileall_silent.patch

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


More information about the Python-bugs-list mailing list