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 josh.r
Recipients Banger, docs@python, josh.r
Date 2014-05-15.02:18:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400120312.28.0.766994433431.issue21508@psf.upfronthosting.co.za>
In-reply-to
Content
You'd prefer it say it returns 1 on success and 0 on failure? Or non-zero on success, zero on failure?

Is true/false that bad? After all, C says 0 is false, all other integer values are true; phrasing it as zero vs. non-zero may be slightly more technically accurate, but it's also a bit less readable, while 1 vs. 0 constrains the implementation (so you couldn't introduce a third "success but with additional info" state, similar to the third possible return from a "O&" converter function).
History
Date User Action Args
2014-05-15 02:18:32josh.rsetrecipients: + josh.r, docs@python, Banger
2014-05-15 02:18:32josh.rsetmessageid: <1400120312.28.0.766994433431.issue21508@psf.upfronthosting.co.za>
2014-05-15 02:18:32josh.rlinkissue21508 messages
2014-05-15 02:18:31josh.rcreate