Issue 33306: Improving SyntaxError for unmatched parentheses (original) (raw)
Issue33306
This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/77487
classification
Title: | Improving SyntaxError for unmatched parentheses | ||
---|---|---|---|
Type: | enhancement | Stage: | resolved |
Components: | Interpreter Core | Versions: | Python 3.8 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | Nosy List: | serhiy.storchaka | |
Priority: | normal | Keywords: | patch |
Created on 2018-04-18 09:22 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Pull Requests | |||
---|---|---|---|
URL | Status | Linked | Edit |
PR 6516 | merged | serhiy.storchaka,2018-04-18 09:26 |
Messages (2) | ||
---|---|---|
msg315441 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2018-04-18 09:22 |
SyntaxError messages were improved recently in PyPy. [1] [2] The part of this improvement in CPython (showing an expected token) is discussed in . 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 ). Syntax error for unmatched parentheses will be raised even if the code contains other syntax errors before unmatched parenthesis. [1] https://morepypy.blogspot.de/2018/04/improving-syntaxerror-in-pypy.html [2] https://bitbucket.org/pypy/pypy/commits/e66f24650dafbcd2ac1c443af7417eddf8e8f093 | ||
msg332011 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2018-12-17 15:34 |
New changeset 94cf308ee231bfbfaa9ddc50b9764545a1318773 by Serhiy Storchaka in branch 'master': bpo-33306: Improve SyntaxError messages for unbalanced parentheses. (GH-6516) https://github.com/python/cpython/commit/94cf308ee231bfbfaa9ddc50b9764545a1318773 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:59 | admin | set | github: 77487 |
2018-12-17 15:46:14 | serhiy.storchaka | set | status: open -> closedresolution: fixedstage: patch review -> resolved |
2018-12-17 15:34:17 | serhiy.storchaka | set | messages: + |
2018-12-14 16:13:49 | serhiy.storchaka | link | issue35494 dependencies |
2018-04-18 09:26:22 | serhiy.storchaka | set | keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest6209> |
2018-04-18 09:22:20 | serhiy.storchaka | create |
Supported by The Python Software Foundation,
Powered by Roundup
Copyright © 1990-2022, Python Software Foundation
Legal Statements