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-16.00:46:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400201192.35.0.465995291459.issue21508@psf.upfronthosting.co.za>
In-reply-to
Content
Changing the docs isn't the main hurdle; the problem is that if we told people they could test == 1, rather than != 0, then new success return codes couldn't be added without a long period of warning.

I don't think the convention is consistently 0 means success BTW. Frankly, 0 means success is just confusing in general (since it reverses the normal C convention, even if it agrees with the errno convention).

bool is sadly out, since Python is forever stuck in 1990, and will never know the joys of C99.
History
Date User Action Args
2014-05-16 00:46:32josh.rsetrecipients: + josh.r, docs@python, Banger
2014-05-16 00:46:32josh.rsetmessageid: <1400201192.35.0.465995291459.issue21508@psf.upfronthosting.co.za>
2014-05-16 00:46:32josh.rlinkissue21508 messages
2014-05-16 00:46:30josh.rcreate