[Python-Dev] Style guide (PEP 8) updated

Guido van Rossum guido@python.org
Fri, 24 May 2002 14:04:51 -0400


> Is it worth putting a prohibition against using bool() like this:
> 
> 	bool(x == 'blah')

Apart from being redundant, I see nothing wrong with it. :-)

> or boolean-value == True/False?  Of course, other comparisons apply too.

Now *that* is something to add, yes!

--Guido van Rossum (home page: http://www.python.org/~guido/)