[New-bugs-announce] [issue46240] Incorrect hint about forgetting a comma
Andre Roberge
report at bugs.python.org
Mon Jan 3 07:02:24 EST 2022
New submission from Andre Roberge <andre.roberge at gmail.com>:
Given the following code containing an unclosed parenthesis:
a = (1, 2
b = 3
Here is the resulting SyntaxError:
> python ignore.py
File "C:\...\ignore.py", line 1
a = (1, 2
^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
This incorrect hint is present in 3.10.1 and 3.11.0a3.
----------
components: Parser
messages: 409578
nosy: aroberge, lys.nikolaou, pablogsal
priority: normal
severity: normal
status: open
title: Incorrect hint about forgetting a comma
versions: Python 3.10, Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46240>
_______________________________________
More information about the New-bugs-announce
mailing list