[New-bugs-announce] [issue2225] py_compile.main() does not return error code
Chris AtLee
report at bugs.python.org
Mon Mar 3 20:15:09 CET 2008
New submission from Chris AtLee:
When using the py_compile module from the command line, and a
SyntaxError is encountered, python still exits with a 0 return code.
This usually indicates that the process completely successfully.
Could py_compile.main() be modified to return a non-zero return code if
an exception was raised?
----------
components: Library (Lib)
messages: 63226
nosy: catlee
severity: normal
status: open
title: py_compile.main() does not return error code
type: behavior
versions: Python 2.5
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2225>
__________________________________
More information about the New-bugs-announce
mailing list