[New-bugs-announce] [issue33306] Improving SyntaxError for unmatched parentheses
report at bugs.python.org
Wed Apr 18 05:22:20 EDT 2018
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
SyntaxError messages were improved recently in PyPy.   The part of this improvement in CPython (showing an expected token) is discussed in issue1634034. The following PR implements other part, related to unmatched parentheses.
Showing the number of the line containing an unmatched opening parenthesis looks as enhancement. But I'm not sure that this change is always an enhancement (in comparison with issue1634034). Syntax error for unmatched parentheses will be raised even if the code contains other syntax errors before unmatched parenthesis.
components: Interpreter Core
title: Improving SyntaxError for unmatched parentheses
versions: Python 3.8
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce