Skip to content

Avoid repeated format of union members - #22297

Merged
hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:formatfaster
Oct 25, 2026
Merged

hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:formatfaster

Conversation

@hauntsaninja

Copy link
Copy Markdown
Collaborator

Codex claims this makes type checking pandas-stubs like 10% faster

Co-authored-by Codex

Codex claims this makes type checking pandas-stubs like 10% faster

Co-authored-by Codex
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@hauntsaninja
hauntsaninja merged commit b286c11 into python:master Oct 25, 2026
25 checks passed
@hauntsaninja
hauntsaninja deleted the formatfaster branch October 25, 2026 23:08
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.

1 participant