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 eryksun
Recipients eryksun, jmsohn.x, lys.nikolaou, pablogsal
Date 2022-02-10.02:03:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644458588.38.0.972202883937.issue46703@roundup.psfhosted.org>
In-reply-to
Content
> True == False == False is really True == False and False == False 
> wich is False and True which is False

Moreover, since the left-hand comparison is `True == False`, which evaluates to False, the right-hand comparison doesn't even get evaluated. 

In the following example, print(3) doesn't get called because the left-hand comparison, `None != None`, is False:

    >>> print(1) != print(2) == print(3)
    1
    2
    False
History
Date User Action Args
2022-02-10 02:03:08eryksunsetrecipients: + eryksun, lys.nikolaou, pablogsal, jmsohn.x
2022-02-10 02:03:08eryksunsetmessageid: <1644458588.38.0.972202883937.issue46703@roundup.psfhosted.org>
2022-02-10 02:03:08eryksunlinkissue46703 messages
2022-02-10 02:03:08eryksuncreate