Message325076
I agree that it would be less confusing if `in`/`not in` did not allow chaining, the occasional (surely very rare) useful example notwithstanding.
Then again if we're going to forbid (or even discourage) unusual combinations we might also want to frown at `a < b > c` -- surely in mathematical circles the chaining always goes in one direction only, e.g. `a < b <= c` or `a >= b ==c > d`.
Finally as long as we're refining the terminology, maybe we could strive to distinguish "comparison" (`==` and `!=`) from "ordering" (`<`, `<=`, `>`, `>=`)? |
|
| Date |
User |
Action |
Args |
| 2018-09-11 22:09:48 | gvanrossum | set | recipients:
+ gvanrossum, ncoghlan, taleinat, serhiy.storchaka |
| 2018-09-11 22:09:48 | gvanrossum | set | messageid: <1536703788.56.0.0269046726804.issue32055@psf.upfronthosting.co.za> |
| 2018-09-11 22:09:48 | gvanrossum | link | issue32055 messages |
| 2018-09-11 22:09:48 | gvanrossum | create | |
|