-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
gh-138239: Fix incorrect highlighting of "type" in type statements in the REPL. #138241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Misc/NEWS.d/next/Library/2025-08-29-12-56-55.gh-issue-138239.uthZFI.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Bénédikt Tran <[email protected]>
…thZFI.rst Co-authored-by: Bénédikt Tran <[email protected]>
my bad, my suggestion had an extra |
I didn’t notice the issue here, let me fix it. 😊 |
The commit above also fixed the missing handling for type statement after DEDENT, discovered while adding test cases. 😌 |
…nts in the REPL (pythonGH-138241) (cherry picked from commit 26cfb17) Co-authored-by: 00ll00 <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
GH-138937 is a backport of this pull request to the 3.14 branch. |
…ents in the REPL (GH-138241) (GH-138937) (cherry picked from commit 26cfb17) Co-authored-by: 00ll00 <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
is_soft_keyword_used
.