Josh Rosenberg added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21508>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to