[Python-Dev] ACCEPTED: PEP 285

Neal Norwitz neal@metaslash.com
Thu, 04 Apr 2002 08:37:43 -0500


Guido van Rossum wrote:
> 
> I wonder if you should add warnings for *any* spelling, or at least

Done.

> But 'is True' can be a useful test.  The newbies we're trying to catch
> in verboten activities are using ==.

Done, 'is' and 'is not' do not generate a warning.

Also fixed the spelling mistake and made the warning harsher:

    Comparisons with True are not necessary and may not work as expected

Neal