Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Fix serialization inference for complex types in python#1549

Merged
sydney-runkle merged 4 commits intomainfrom
infer-complex-ser
Nov 21, 2024
Merged

Fix serialization inference for complex types in python#1549
sydney-runkle merged 4 commits intomainfrom
infer-complex-ser

Conversation

@sydney-runkle
Copy link
Copy Markdown
Contributor

Fix pydantic/pydantic#10926

Slightly changes behavior introduced in #1524

Inference now aligns with complex serialization by producing a complex value when dumping to Python.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Nov 21, 2024

CodSpeed Performance Report

Merging #1549 will not alter performance

Comparing infer-complex-ser (a51f2e9) with main (1e5e899)

Summary

✅ 155 untouched benchmarks

@sydney-runkle sydney-runkle enabled auto-merge (squash) November 21, 2024 18:35
@sydney-runkle sydney-runkle merged commit afd23ee into main Nov 21, 2024
@sydney-runkle sydney-runkle deleted the infer-complex-ser branch November 21, 2024 18:36
davidhewitt pushed a commit to pydantic/pydantic that referenced this pull request Oct 20, 2025
davidhewitt pushed a commit to pydantic/pydantic that referenced this pull request Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2.10: custom complex serialization behavior changed?

2 participants