gh-92858: Improve error message for some suites with syntax error before ':' by wookie184 · Pull Request #92894 · python/cpython · GitHub

github.com

Tin mới

wookie184:improve-error-message

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Improve error message for some suites with syntax error before ':'

SyntaxError location for *args in class bases is inconsistent #93165

Unhelpful SyntaxError with unclosed call before colon #94034

View reviewed changes

needs backport to 3.10

needs backport to 3.10

needs backport to 3.11

needs backport to 3.11

[3.11] gh-92858: Improve error message for some suites with syntax error before ':' (GH-92894) (cherry picked from commit 2fc83ac3afa161578200dbf8d823a20e0801c0c0) Co-authored-by: wookie184 <[email protected]>

[3.10] gh-92858: Improve error message for some suites with syntax error before ':' (GH-92894). (cherry picked from commit 2fc83ac3afa161578200dbf8d823a20e0801c0c0) Co-authored-by: wookie184 <[email protected]>

: Improve error message for some suites with syntax er…

: Improve error message for some suites with syntax er…

Revert 30935 defer bpo45162 to 312 (

emscripten-core/emscripten#17269

https://github.com/python/cpython/issue/89336

Minor improvement to errors with (no) missing colon

Successfully merging this pull request may close these issues.