PEP 285: Adding a bool type: yes, but not as int subtype
Aahz
aahz at pythoncraft.com
Mon Apr 1 13:44:02 EST 2002
In article <slrnaaha69.nn5.kzaragoza at localhost.localdomain>,
Kris J. Zaragoza <kzaragoza at attbi.com> wrote:
>
>Do you intend to eventually (NOTE: I say eventually, I know it's not
>immediate) modify this to read that only the value True is true and
>the value False is false? If this is the case, I believe this adds
>needless complexity to code whereas (in a simple case)
>
>if foo:
> ...do whatever...
I can't find a reference off-hand, but I think it's pretty clear that
this will remain a standard Python idiom forever.
--
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