This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author takluyver
Recipients takluyver
Date 2014-04-23.23:29:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398295772.24.0.550494832702.issue21338@psf.upfronthosting.co.za>
In-reply-to
Content
The compileall module's command line interface has a -q (quiet) flag which suppresses most of the output, but it still prints error messages. I'd like an entirely silent mode with no output.

My use case is byte-compiling Python files as part of a graphical installer. I do this by running:

py -${PY_QUALIFIER} -m compileall -q "$INSTDIR\pkgs"

I'd like to be able to use pyw so a terminal doesn't pop up, but if I do that, it exits early. I think this is due to the issue with stdout/stderr buffers filling up on pythonw.
History
Date User Action Args
2014-04-23 23:29:32takluyversetrecipients: + takluyver
2014-04-23 23:29:32takluyversetmessageid: <1398295772.24.0.550494832702.issue21338@psf.upfronthosting.co.za>
2014-04-23 23:29:32takluyverlinkissue21338 messages
2014-04-23 23:29:31takluyvercreate