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

Properly support PEP 695 generics syntax#11189

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

Merged
Viicos merged 5 commits intomainfrompep695-support
Dec 30, 2024
Merged

Properly support PEP 695 generics syntax#11189

Viicos merged 5 commits intomainfrompep695-support
Dec 30, 2024

Conversation

Viicos
Copy link
Member

@ViicosViicos commentedDec 30, 2024
edited
Loading

Best reviewed commit per commit.

Reword relevant docstrings and comments.

Fixes#11031.
Fixes#9782.

Change Summary

Related issue number

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review,please add a comment including the phrase "please review" to assign reviewers

CharlesPerrotMinotHCHB reacted with hooray emoji
Reword relevant docstrings and comments.
@cloudflare-workers-and-pagesCloudflare Workers and Pages
Copy link

cloudflare-workers-and-pagesbot commentedDec 30, 2024
edited
Loading

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit:308670a
Status: ✅  Deploy successful!
Preview URL:https://bea518c3.pydantic-docs.pages.dev
Branch Preview URL:https://pep695-support.pydantic-docs.pages.dev

View logs

@github-actionsgithub-actionsbot added the relnotes-fixUsed for bugfixes. labelDec 30, 2024
It was added for coverage purposes, but is fragile becauseit tests the implementation, not the functionality. As aconsequence, it broke with the added logic in`parent_frame_namespace`.`test_module_ns_is_none` was rewritten to be self-contained.
@codspeed-hqCodSpeed HQ
Copy link

codspeed-hqbot commentedDec 30, 2024
edited
Loading

CodSpeed Performance Report

Merging#11189 willnot alter performance

Comparingpep695-support (308670a) withmain (cfd4c9f)

Summary

✅ 46 untouched benchmarks

@github-actionsGitHub Actions
Copy link
Contributor

github-actionsbot commentedDec 30, 2024
edited
Loading

Coverage report

This PR does not seem to contain any modification to coverable code.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Best to be reviewed visually. The example was simplified a bit (avoid using lists, etc)

@sydney-runklesydney-runkle added topic-type checkingRelated to type checking relnotes-feature and removed relnotes-fixUsed for bugfixes. labelsDec 30, 2024
Copy link
Contributor

@sydney-runklesydney-runkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

New docs look great. I left a few minor requests for changes.

I'm impressed that the diff is this minimal for supporting this syntax!

@ViicosViicosenabled auto-merge (squash)December 30, 2024 16:47
@ViicosViicos merged commitce8fd28 intomainDec 30, 2024
56 checks passed
@ViicosViicos deleted the pep695-support branchDecember 30, 2024 16:51
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@sydney-runklesydney-runklesydney-runkle approved these changes

Assignees
No one assigned
Labels
relnotes-featuretopic-type checkingRelated to type checking
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

"Foo is not fully defined; you should defineT" error when using new generic syntax with dataclass Add full support for PEP 695 like syntax
2 participants
@Viicos@sydney-runkle

[8]ページ先頭

©2009-2025 Movatter.jp