This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Arfrever, georg.brandl, loewis, martin.panter, mkc, pitrou, python-dev, rbcollins, steve.dower, terry.reedy
Date 2015-08-31.01:47:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440985644.33.0.309331628234.issue5319@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-08-31 01:47:24martin.pantersetrecipients: + martin.panter, loewis, georg.brandl, terry.reedy, mkc, pitrou, rbcollins, Arfrever, python-dev, steve.dower
2015-08-31 01:47:24martin.pantersetmessageid: <1440985644.33.0.309331628234.issue5319@psf.upfronthosting.co.za>
2015-08-31 01:47:24martin.panterlinkissue5319 messages
2015-08-31 01:47:23martin.pantercreate