Message218636
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. |
|
Date |
User |
Action |
Args |
2014-05-16 00:46:32 | josh.r | set | recipients:
+ josh.r, docs@python, Banger |
2014-05-16 00:46:32 | josh.r | set | messageid: <1400201192.35.0.465995291459.issue21508@psf.upfronthosting.co.za> |
2014-05-16 00:46:32 | josh.r | link | issue21508 messages |
2014-05-16 00:46:30 | josh.r | create | |
|