[issue24052] sys.exit(code) returns "success" to the OS for some nonzero values of code
Serhiy Storchaka
report at bugs.python.org
Sat May 2 06:42:21 CEST 2015
Serhiy Storchaka added the comment:
Python 2 prints large return code only by accident, because it have unsupported type (sys.exit supports only int, not long). This is considered as a bug (issue14376) because small return codes of type long (0L or 1L) are printed too.
I don't think this issue need other fix besides a note that the program can return "success" for some non-zero values.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24052>
_______________________________________
More information about the Python-bugs-list
mailing list