mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#2225: return nonzero status code from py_compile if not all files could be compiled.
This commit is contained in:
parent
810ea29b0e
commit
a7bd27f0a8
3 changed files with 15 additions and 3 deletions
|
@ -42,7 +42,12 @@ byte-code cache files in the directory containing the source code.
|
|||
structure to locate source files; it only compiles files named explicitly.
|
||||
|
||||
When this module is run as a script, the :func:`main` is used to compile all the
|
||||
files named on the command line.
|
||||
files named on the command line. The exit status is nonzero if one of the files
|
||||
could not be compiled.
|
||||
|
||||
.. versionchanged:: 2.6
|
||||
|
||||
Added the nonzero exit status.
|
||||
|
||||
|
||||
.. seealso::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue