Skip to content

Fix missing GC traversal on some pydantic-core struct fields - #13624

Merged
Viicos merged 1 commit into
mainfrom
vp/missing-gc-traverse
Aug 11, 2026
Merged

Viicos merged 1 commit into
mainfrom
vp/missing-gc-traverse

Conversation

@Viicos

@Viicos Viicos commented Aug 11, 2026

Copy link
Copy Markdown
Member

Change Summary

Fixes #13621.

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

@Viicos
Viicos requested a review from davidhewitt August 11, 2026 09:00
@Viicos Viicos added the relnotes-fix Used for bugfixes. label Aug 11, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4c5595f
Status: ✅  Deploy successful!
Preview URL: https://01b746ea.pydantic-docs.pages.dev
Branch Preview URL: https://vp-missing-gc-traverse.pydantic-docs.pages.dev

View logs

@codspeed-hq

codspeed-hq Bot commented Aug 11, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 216 untouched benchmarks
⏩ 163 skipped benchmarks1


Comparing vp/missing-gc-traverse (4c5595f) with main (c67a139)

Open in CodSpeed

Footnotes

  1. 163 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report

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

@Viicos Viicos changed the title Mix missing GC traversal on some pydantic-core struct fields Fix missing GC traversal on some pydantic-core struct fields Aug 11, 2026
@Viicos
Viicos merged commit 8affe9b into main Aug 11, 2026
91 checks passed
@Viicos
Viicos deleted the vp/missing-gc-traverse branch August 11, 2026 10:41
@Viicos Viicos added the backport-2.13 Needs backport to 2.13 label Aug 28, 2026
Viicos added a commit that referenced this pull request Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-2.13 Needs backport to 2.13 relnotes-fix Used for bugfixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Memory leak: transient models using Enum methods or Field(exclude_if=...) survive GC

1 participant