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 weditor
Recipients lys.nikolaou, pablogsal, weditor
Date 2021-09-23.04:37:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632371839.56.0.25067525558.issue45268@roundup.psfhosted.org>
In-reply-to
Content
I find it's a valid expression: `1 in [1, 2, 3] in [4, 5, 6]`

`a in b in c` is equivalent to `a in b and b in c` 

but this expression seems useless, and easy to confused with (a in b) in c .
in this program, what I originally want is `if a in b and a in c` , But it was mistakenly written as `a in b in c`

This expression is similar to `a<b<c` 。
But it seems very unreasonable here, is this a bug ?
History
Date User Action Args
2021-09-23 04:37:19weditorsetrecipients: + weditor, lys.nikolaou, pablogsal
2021-09-23 04:37:19weditorsetmessageid: <1632371839.56.0.25067525558.issue45268@roundup.psfhosted.org>
2021-09-23 04:37:19weditorlinkissue45268 messages
2021-09-23 04:37:19weditorcreate