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 brett.cannon
Recipients brett.cannon
Date 2020-10-02.15:27:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Content claims that "Comparisons yield boolean values: True or False." But that's not necessarily true:

>>> class Spam: 
...  def __eq__(self, _): return 42
>>> Spam() == object()

That really only happens when an expressions is used in a boolean context like an `if` statements guard expression.
Date User Action Args
2020-10-02 15:27:33brett.cannonsetrecipients: + brett.cannon
2020-10-02 15:27:33brett.cannonsetmessageid: <>
2020-10-02 15:27:33brett.cannonlinkissue41911 messages
2020-10-02 15:27:32brett.cannoncreate