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 calvin
Recipients amaury.forgeotdarc, calvin, georg.brandl
Date 2008-03-28.13:46:53
SpamBayes Score 0.044380933
Marked as misclassified No
Message-id <1206712015.11.0.722973788646.issue2503@psf.upfronthosting.co.za>
In-reply-to
Content
Amaury, I never saw an object comparing equal to None.
I think the most likely case is a buggy x.__eq__() implementation. Then
the "if x == None" statement gets triggered, and somebody has a hard
time with bug hunting.

Just a note: I used an adapted source checker for this patch, which
initially came from the Sphinx documentation project, found under
tools/check_sources.py. So the credits for this go to Georg Brandl.

That is also why '!=' did not get replaced (the source checker only
searched for '=='. I will post an updated patch.
History
Date User Action Args
2008-03-28 13:46:55calvinsetspambayes_score: 0.0443809 -> 0.044380933
recipients: + calvin, georg.brandl, amaury.forgeotdarc
2008-03-28 13:46:55calvinsetspambayes_score: 0.0443809 -> 0.0443809
messageid: <1206712015.11.0.722973788646.issue2503@psf.upfronthosting.co.za>
2008-03-28 13:46:54calvinlinkissue2503 messages
2008-03-28 13:46:53calvincreate