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

Created on 2021-06-18 20:59 by asmeurer, last changed 2021-06-21 02:58 by jacobtylerwalls.

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 $?

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