Message249377
So far I haven’t noticed much documentation on the exit statuses generated by Python itself (e.g. for unhandled exceptions). I did find some discussion in <https://docs.python.org/3/library/sys.html#sys.exit>, so perhaps I will add to that.
Since it implies values beyond 127 may not work on some systems, I now propose to use the arbitrary value of 120 instead of 255. (Keeping clear of 126 and 127, which have a special meaning in Posix shells.) Although, that statement about 0–127 was added in 1998 (bbe92932a005), so may not be relevant these days. |
|
Date |
User |
Action |
Args |
2015-08-31 01:47:24 | martin.panter | set | recipients:
+ martin.panter, loewis, georg.brandl, terry.reedy, mkc, pitrou, rbcollins, Arfrever, python-dev, steve.dower |
2015-08-31 01:47:24 | martin.panter | set | messageid: <1440985644.33.0.309331628234.issue5319@psf.upfronthosting.co.za> |
2015-08-31 01:47:24 | martin.panter | link | issue5319 messages |
2015-08-31 01:47:23 | martin.panter | create | |
|