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 steven.daprano
Recipients Antelx, steven.daprano
Date 2021-07-28.09:14:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627463660.0.0.836240205417.issue44758@roundup.psfhosted.org>
In-reply-to
Content
BTW, chained comparisons are usually written like this:

    0 <= x <= 100

    a == b == c

    spam is eggs is None

or similar. They do look weird and confusing when they include the `in` operator. Best not to write chained comparisons involving the `in` operator or other strange combinations.
History
Date User Action Args
2021-07-28 09:14:20steven.dapranosetrecipients: + steven.daprano, Antelx
2021-07-28 09:14:20steven.dapranosetmessageid: <1627463660.0.0.836240205417.issue44758@roundup.psfhosted.org>
2021-07-28 09:14:19steven.dapranolinkissue44758 messages
2021-07-28 09:14:19steven.dapranocreate