Martin Panter added the comment:
I guess I like setting the status to 1 because it matches the status already
used by the default exception handling, the value when you raise
SystemExit("error message"), and the value used for most internal errors.
However I did discover that the exit status is 2 if you give Python wrong CLI
arguments or there is an OS error opening a script file.
I’m still rather unsure, only weakly in favour of my original proposal. Maybe
see if anyone else has an opinion?
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5319>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com