
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2018-04-18 09:22 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| 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 inissue1634034. 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 withissue1634034). 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 changeset94cf308ee231bfbfaa9ddc50b9764545a1318773 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 -> closed resolution: fixed stage: patch review -> resolved |
| 2018-12-17 15:34:17 | serhiy.storchaka | set | messages: +msg332011 |
| 2018-12-14 16:13:49 | serhiy.storchaka | link | issue35494 dependencies |
| 2018-04-18 09:26:22 | serhiy.storchaka | set | keywords: +patch stage: patch review pull_requests: +pull_request6209 |
| 2018-04-18 09:22:20 | serhiy.storchaka | create | |