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

Neal Norwitz neal@metaslash.com
Fri, 24 May 2002 13:50:58 -0400


Guido van Rossum wrote:
> 
> Barry has added (with my consent :-) some additional style guidelines
> to PEP 8.  I welcome suggestions for more guidelines.  I discourage
> arguing over what's already in the PEP (it's a BDFL pronouncement, not
> a democratic document).

Is it worth putting a prohibition against using bool() like this:

	bool(x == 'blah')

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

Neal