Message385463
Instead of displaying a generic syntax error:
Python 3.8.6 (default, Oct 10 2020, 18:31:21)
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> for x in range
File "<stdin>", line 1
for x in range
^
SyntaxError: invalid syntax
>>>
we could display:
>>> for x in range
File "<stdin>", line 1
for x in range
^
SyntaxError: expected ':'
The same idea applies for every suite that has a missing ':' |
|
Date |
User |
Action |
Args |
2021-01-22 01:20:05 | pablogsal | set | recipients:
+ pablogsal |
2021-01-22 01:20:05 | pablogsal | set | messageid: <1611278405.38.0.0749709348669.issue42997@roundup.psfhosted.org> |
2021-01-22 01:20:05 | pablogsal | link | issue42997 messages |
2021-01-22 01:20:04 | pablogsal | create | |
|