Message413664
The following code gives a SyntaxError in 3.10, but used to work fine before (I have tested it in 2.7, 3.8, 3.9):
1not in [2, 3]
It seems to be only the `not in` syntax which is affected; all other keywords still work correctly:
1in [2, 3]
1or 2
1and 2
1if 1else 1
1is 1
I know this syntax is deprecated in 3.10 (bpo43833), but it still needs to work for now, so that old code written like this can keep working. |
|
Date |
User |
Action |
Args |
2022-02-21 17:50:04 | pxeger | set | recipients:
+ pxeger, lys.nikolaou, pablogsal |
2022-02-21 17:50:03 | pxeger | set | messageid: <1645465803.96.0.142928933167.issue46820@roundup.psfhosted.org> |
2022-02-21 17:50:03 | pxeger | link | issue46820 messages |
2022-02-21 17:50:03 | pxeger | create | |
|