Mailing List Archive

[issue44455] compileall should exit nonzero for nonexistent directories
New submission from Aaron Meurer <asmeurer@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@bugs.python.org>
<https://bugs.python.org/issue44455>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue44455] compileall should exit nonzero for nonexistent directories [ In reply to ]
Change by Jacob Walls <jacobtylerwalls@gmail.com>:


----------
components: +Library (Lib)
type: -> behavior

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue44455>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com