[Python-Dev] ACCEPTED: PEP 285 (original) (raw)
Neal Norwitz neal@metaslash.com
Thu, 04 Apr 2002 08:37:43 -0500
- Previous message: [Python-Dev] ACCEPTED: PEP 285
- Next message: [Python-Dev] ACCEPTED: PEP 285
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] ACCEPTED: PEP 285
- Next message: [Python-Dev] ACCEPTED: PEP 285
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]