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.

classification
Title: compileall should exit nonzero for nonexistent directories
Type: behavior Stage:
Components: Library (Lib) Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: asmeurer
Priority: normal Keywords:

Created on 2021-06-18 20:59 by asmeurer, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg396087 - (view) Author: Aaron Meurer (asmeurer) Date: 2021-06-18 20:59
$ ./python.exe -m compileall doesntexist
Listing 'doesntexist'...
Can't list 'doesntexist'
$ echo $?
0

It's standard for a command line tool that processes files to exit nonzero when given a directory that doesn't exist.
History
Date User Action Args
2022-04-11 14:59:46adminsetgithub: 88621
2021-06-21 02:58:08jacobtylerwallssettype: behavior
components: + Library (Lib)
2021-06-18 20:59:37asmeurercreate