Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-98852: Fix subscription of type aliases#98920

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedOct 31, 2022
edited by bedevere-bot
Loading

Fix subscription of type aliases containing bare generic types or types like TypeVar: for example tuple[A, T][int] and tuple[TypeVar, T][int], where A is a generic type, and T is a type variable.

Fix subscription of type aliases containing bare generic types or typeslike TypeVar: for example tuple[A, T][int] and tuple[TypeVar, T][int],where A is a generic type, and T is a type variable.
@miss-islington
Copy link
Contributor

Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 1, 2022
Fix subscription of type aliases containing bare generic types or typeslike TypeVar: for example tuple[A, T][int] and tuple[TypeVar, T][int],where A is a generic type, and T is a type variable.(cherry picked from commit0e15c31)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-98952 is a backport of this pull request to the3.11 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.11only security fixes labelNov 1, 2022
@serhiy-storchakaserhiy-storchaka deleted the typing-subscribe-non-generic branchNovember 1, 2022 07:33
miss-islington added a commit that referenced this pull requestNov 1, 2022
Fix subscription of type aliases containing bare generic types or typeslike TypeVar: for example tuple[A, T][int] and tuple[TypeVar, T][int],where A is a generic type, and T is a type variable.(cherry picked from commit0e15c31)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-98969 is a backport of this pull request to the3.10 branch.

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull requestNov 1, 2022
…es (pythonGH-98920)Fix subscription of types.GenericAlias instances containing bare generic types:for example tuple[A, T][int], where A is a generic type, and T is a typevariable.
serhiy-storchaka added a commit that referenced this pull requestNov 1, 2022
…-98920) (GH-98969)Fix subscription of types.GenericAlias instances containing bare generic types:for example tuple[A, T][int], where A is a generic type, and T is a typevariable.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@Fidget-SpinnerFidget-SpinnerFidget-Spinner approved these changes

@JelleZijlstraJelleZijlstraAwaiting requested review from JelleZijlstraJelleZijlstra is a code owner

@AlexWaygoodAlexWaygoodAwaiting requested review from AlexWaygoodAlexWaygood is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@serhiy-storchaka@miss-islington@bedevere-bot@Fidget-Spinner

[8]ページ先頭

©2009-2025 Movatter.jp