Skip to content
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

gh-110938: Fix error messages for indented blocks with functions and classes with generic type parameters #110973

Merged
merged 1 commit into from
Oct 17, 2023

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
26 checks passed
@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 bug and 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