[issue24052] sys.exit(code) returns "success" to the OS for some nonzero values of code

R. David Murray report at bugs.python.org
Sat May 2 03:57:25 CEST 2015


R. David Murray added the comment:

I meant when it is otherwise out of range.  That is, treat it like any other object that can't be returned as the return code: print it.  But only if it can't otherwise be used as the exit code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24052>
_______________________________________


More information about the Python-bugs-list mailing list