KEMBAR78
gh-110938: Fix error messages for indented blocks with functions and classes with generic type parameters by pablogsal · Pull Request #110973 · python/cpython · GitHub
Skip to content

Conversation

@pablogsal
Copy link
Member

@pablogsal pablogsal commented Oct 17, 2023

…s and classes with generic type parameters

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
@pablogsal pablogsal merged commit 24e4ec7 into python:main Oct 17, 2023
@pablogsal pablogsal deleted the gh-110938 branch October 17, 2023 12:45
@miss-islington-app
Copy link

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @pablogsal, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 24e4ec7766fd471deb5b7e5087f0e7dba8576cfb 3.12

@JelleZijlstra
Copy link
Member

Working on the backport

@bedevere-app
Copy link

bedevere-app bot commented Oct 17, 2023

GH-110990 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Oct 17, 2023
JelleZijlstra pushed a commit to JelleZijlstra/cpython that referenced this pull request Oct 17, 2023
…unctions and classes with generic type parameters (pythonGH-110973)

(cherry picked from commit 24e4ec7)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
JelleZijlstra added a commit that referenced this pull request Oct 18, 2023
#110990)

[3.12] gh-110938: Fix error messages for indented blocks with functions and classes with generic type parameters (GH-110973)
(cherry picked from commit 24e4ec7)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

invalid_def_raw and invalid_class_def_raw rules do not account for type parameters

3 participants