PEP 285: Adding a bool type

Aahz aahz at pythoncraft.com
Mon Apr 1 11:05:49 EST 2002


In article <KM_p8.41075$pT1.1129125 at news1.tin.it>,
Alex Martelli  <aleax at aleax.it> wrote:
>
>0 is (2.2 is still present, not yet past) the canonical way to spell 
>untruth: it's what 'not', 'is', 'in', comparisons, and all standard library 
>iswhatever's return -- including operator.truth, of course.

Just to throw in a datapoint, I generally use None to indicate falsehood.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list