[New-bugs-announce] [issue25768] compileall functions do not document return values

Nicholas Chammas report at bugs.python.org
Sun Nov 29 17:44:15 EST 2015

New submission from Nicholas Chammas:

I'm using the public functions of Python's built-in compileall module.


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.

assignee: docs at python
components: Documentation
messages: 255600
nosy: Nicholas Chammas, docs at python
priority: normal
severity: normal
status: open
title: compileall functions do not document return values
type: behavior
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list