On 2015-05-29 13:48, Chris Angelico wrote:
> That said, though, using 0 for False and 1 for True is easily
> the most common convention in use today, and the next most likely
> case is that comparing booleans would give a simple and immediate
> error. So it's most likely to be safe to do.

There are popular exceptions though. coughshellscriptingcough

-tkc




-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to