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-145521: Add 'infer_variance' parameter to ParamSpec class#145522

Open
hyperkai wants to merge 1 commit intopython:mainfrom
hyperkai:hyperkai-patch-1
Open

gh-145521: Add 'infer_variance' parameter to ParamSpec class#145522
hyperkai wants to merge 1 commit intopython:mainfrom
hyperkai:hyperkai-patch-1

Conversation

@hyperkai
Copy link

@hyperkaihyperkai commentedMar 5, 2026
edited by bedevere-appbot
Loading

@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir skip news awaiting review labelsMar 5, 2026
@hyperkaihyperkai changed the titleAdd 'infer_variance' parameter to ParamSpec classgh-145521: Add 'infer_variance' parameter to ParamSpec classMar 5, 2026
@AlexWaygoodAlexWaygood added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsMar 5, 2026
@inventshah
Copy link
Contributor

Should we add some text about the version this changed (e.g. 3.12)?

@AlexWaygood
Copy link
Member

Should we add some text about the version this changed (e.g. 3.12)?

We can do. But we shouldn't devote too much space to this, because ParamSpecs are always invariant. It's a bit confusing that they have this parameter; type checkers will just ignore it.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@AlexWaygoodAlexWaygoodAlexWaygood approved these changes

@JelleZijlstraJelleZijlstraAwaiting requested review from JelleZijlstraJelleZijlstra is a code owner

Assignees

No one assigned

Labels

awaiting mergedocsDocumentation in the Doc dirneeds backport to 3.13bugs and security fixesneeds backport to 3.14bugs and security fixesskip news

Projects

Status: Todo

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

The docs should also sayinfer_variance parameter withtyping.ParamSpec explanation

3 participants

@hyperkai@inventshah@AlexWaygood

[8]ページ先頭

©2009-2026 Movatter.jp