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 Polux.Moon
Recipients Polux.Moon, docs@python
Date 2014-12-18.15:06:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418915184.17.0.474799432406.issue23083@psf.upfronthosting.co.za>
In-reply-to
Content
when using a bool as parameter implementation (2.7) behave like:
sys.exit(True) <=> sys.exit(1)
sys.exit(False) <=> sys.exit(0)

so the bool indicate if the termination is abnormal

following the doc it should be equivalent to sys.exit(1) in all cases
if we assume the implementation is right, the doc should describe the behavior for boolean input
History
Date User Action Args
2014-12-18 15:06:24Polux.Moonsetrecipients: + Polux.Moon, docs@python
2014-12-18 15:06:24Polux.Moonsetmessageid: <1418915184.17.0.474799432406.issue23083@psf.upfronthosting.co.za>
2014-12-18 15:06:24Polux.Moonlinkissue23083 messages
2014-12-18 15:06:23Polux.Mooncreate