KEMBAR78
gh-119011: `type.__type_params__` now return an empty tuple by sobolevn · Pull Request #119296 · python/cpython · GitHub
Skip to content

Conversation

@sobolevn
Copy link
Member

@sobolevn sobolevn commented May 21, 2024

I went ahead and implemented this special case.
I've also added object to the test, because it was missing and can also be quite important / different from other types.

@JelleZijlstra JelleZijlstra merged commit 6b240c2 into python:main May 28, 2024
@miss-islington-app
Copy link

Thanks @sobolevn for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 28, 2024
…thonGH-119296)

(cherry picked from commit 6b240c2)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@miss-islington-app
Copy link

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

cherry_picker 6b240c2308a044e38623900ccb8fa58c3549d4ae 3.12

@bedevere-app
Copy link

bedevere-app bot commented May 28, 2024

GH-119678 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label May 28, 2024
JelleZijlstra pushed a commit to JelleZijlstra/cpython that referenced this pull request May 28, 2024
…ple (pythonGH-119296)

(cherry picked from commit 6b240c2)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@bedevere-app
Copy link

bedevere-app bot commented May 28, 2024

GH-119681 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 May 28, 2024
JelleZijlstra pushed a commit that referenced this pull request May 28, 2024
…H-119296) (#119678)

(cherry picked from commit 6b240c2)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
JelleZijlstra added a commit that referenced this pull request May 28, 2024
…H-119296) (#119681)

(cherry picked from commit 6b240c2)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 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.

3 participants