Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue33306

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Improving SyntaxError for unmatched parentheses
Type:enhancementStage:resolved
Components:Interpreter CoreVersions:Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: serhiy.storchaka
Priority:normalKeywords:patch

Created on2018-04-18 09:22 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 6516mergedserhiy.storchaka,2018-04-18 09:26
Messages (2)
msg315441 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)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)*(Python committer)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
DateUserActionArgs
2022-04-11 14:58:59adminsetgithub: 77487
2018-12-17 15:46:14serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-12-17 15:34:17serhiy.storchakasetmessages: +msg332011
2018-12-14 16:13:49serhiy.storchakalinkissue35494 dependencies
2018-04-18 09:26:22serhiy.storchakasetkeywords: +patch
stage: patch review
pull_requests: +pull_request6209
2018-04-18 09:22:20serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp