This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2012-10-09.09:54:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349776494.9.0.428146020554.issue16172@psf.upfronthosting.co.za>
In-reply-to
Content
Here are two patches written on the discussion in Python-Ideas [1].

The first patch fixes incorrect use of "x is 0" or "x is 'foo'". Result of this operations is implementation details.

The second patch changes non-idiomatic use of "x == None" or "x == True".

[1] http://comments.gmane.org/gmane.comp.python.ideas/16547
History
Date User Action Args
2012-10-09 09:54:54serhiy.storchakasetrecipients: + serhiy.storchaka
2012-10-09 09:54:54serhiy.storchakasetmessageid: <1349776494.9.0.428146020554.issue16172@psf.upfronthosting.co.za>
2012-10-09 09:54:54serhiy.storchakalinkissue16172 messages
2012-10-09 09:54:54serhiy.storchakacreate