In message <mailman.1232.1285927634.29448.python-l...@python.org>, Antoon 
Pardon wrote:

> On Wed, Sep 29, 2010 at 01:38:48PM +0200, Hrvoje Niksic wrote:
>
>> BTW adding "==True" to a boolean value is redundant and can even break
>> for logically true values that don't compare equal to True (such as the
>> number 10 or the string "foo").
> 
> But leaving it out can also break things.

Only in code which was incorrectly written to begin with.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to