[issue44455] compileall should exit nonzero for nonexistent directories

Aaron Meurer report at bugs.python.org
Fri Jun 18 16:59:37 EDT 2021


New submission from Aaron Meurer <asmeurer at gmail.com>:

$ ./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.

----------
messages: 396087
nosy: asmeurer
priority: normal
severity: normal
status: open
title: compileall should exit nonzero for nonexistent directories

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44455>
_______________________________________


More information about the Python-bugs-list mailing list