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 <>
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).
Date User Action Args
2014-05-15 02:18:32josh.rsetrecipients: + josh.r, docs@python, Banger
2014-05-15 02:18:32josh.rsetmessageid: <>
2014-05-15 02:18:32josh.rlinkissue21508 messages
2014-05-15 02:18:31josh.rcreate