Antoine Pitrou added the comment:

> I want people to standardize on status=1 for a generic failure code.

Why that? Multiple error codes can be used by the same program, depending on 
the kind of error.

> I want discourage people from using computed integer results as exit status.

Ok, that's the first good argument for this feature. Although I would encourage 
people raise an exception if they want to signify a failure, rather than simply 
change the error code.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24053>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to