Message369885
$ python -X oldparser
Python 3.10.0a0 (heads/bpo-xxxxx:f2947e354c, May 21 2020, 18:54:57)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> (()): int
File "<stdin>", line 1
SyntaxError: only single target (not tuple) can be annotated
>>> ((())): int
File "<stdin>", line 1
SyntaxError: only single target (not tuple) can be annotated
>>> (((()))): int
File "<stdin>", line 1
SyntaxError: only single target (not tuple) can be annotated
>>> ([]): int
File "<stdin>", line 1
SyntaxError: only single target (not list) can be annotated
>>> (([])): int
File "<stdin>", line 1
SyntaxError: only single target (not list) can be annotated
---- current ----
>>> (()): int
File "<stdin>", line 1
(()): int
^
SyntaxError: illegal target for annotation
>>> (((()))): int
File "<stdin>", line 1
(((()))): int
^
SyntaxError: illegal target for annotation
>>> ([]): int
File "<stdin>", line 1
([]): int
^
SyntaxError: illegal target for annotation
>>> (([])): int
File "<stdin>", line 1
(([])): int
^
SyntaxError: illegal target for annotation |
|
Date |
User |
Action |
Args |
2020-05-25 15:03:00 | BTaskaya | set | recipients:
+ BTaskaya |
2020-05-25 15:03:00 | BTaskaya | set | messageid: <1590418980.01.0.581408233442.issue40769@roundup.psfhosted.org> |
2020-05-25 15:02:59 | BTaskaya | link | issue40769 messages |
2020-05-25 15:02:59 | BTaskaya | create | |
|