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 Wilfred.Hughes
Recipients Wilfred.Hughes, michael.foord
Date 2015-08-13.09:13:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439457196.66.0.56814473063.issue24857@psf.upfronthosting.co.za>
In-reply-to
Content
This caught me by surprise and I spent a while debugging due to this issue. Isn't it reasonable that I can compare two values in Python without exceptions being raised?

>>> (1, 2) == "foob"
False

I'm happy to write a patch.
History
Date User Action Args
2015-08-13 09:13:16Wilfred.Hughessetrecipients: + Wilfred.Hughes, michael.foord
2015-08-13 09:13:16Wilfred.Hughessetmessageid: <1439457196.66.0.56814473063.issue24857@psf.upfronthosting.co.za>
2015-08-13 09:13:16Wilfred.Hugheslinkissue24857 messages
2015-08-13 09:13:16Wilfred.Hughescreate