Skip to content

Conversation

@sydney-runkle
Copy link
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

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
28 checks passed
@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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2.10: custom complex serialization behavior changed?

3 participants