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

Ethan Furman report at bugs.python.org
Fri Apr 24 18:57:16 CEST 2015


Ethan Furman added the comment:

If anything changes here it needs to be O/S dependent.  MS Windows can work with DWORD return values, so truncating to 8-bits is wrong for that platform.

----------
nosy: +ethan.furman

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


More information about the Python-bugs-list mailing list