Author Nicholas Chammas
Recipients Nicholas Chammas, docs@python
Date 2015-11-29.22:44:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448837055.66.0.314303073696.issue25768@psf.upfronthosting.co.za>
In-reply-to
Content
I'm using the public functions of Python's built-in compileall module.

https://docs.python.org/3/library/compileall.html#public-functions

There doesn't appear to be documentation of what each of these functions returns.

I figured out, for example, that compileall.compile_file() returns 1 when the file compiles successfully, and 0 if not.

If this is "official" behavior, it would be good to see it documented so that we can rely on it.

I'd be happy to submit a patch to fix this if a committer is willing to shepherd a new contributor (me) through the process. Otherwise, this is probably a quick fix for experienced contributors.
History
Date User Action Args
2015-11-29 22:44:15Nicholas Chammassetrecipients: + Nicholas Chammas, docs@python
2015-11-29 22:44:15Nicholas Chammassetmessageid: <1448837055.66.0.314303073696.issue25768@psf.upfronthosting.co.za>
2015-11-29 22:44:15Nicholas Chammaslinkissue25768 messages
2015-11-29 22:44:15Nicholas Chammascreate