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

Use proper fixed format for parallel type checking IPC #20565

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
ilevkivskyi merged 1 commit into python:master from ilevkivskyi:fix-parallel-serial-fmt
Jan 12, 2026

Conversation

@ilevkivskyi
Copy link
Member

@ilevkivskyi ilevkivskyi commented Jan 11, 2026

This is another small follow-up for #20280

As promised I am switching from an ad-hoc "binary JSON" format for IPC to a proper fixed format. The performance win is likely negligible, but it looks better and can be "statically typed". Note that since we don't have any backwards compatibility requirements nor need for messages to be decoded by a generic reader, I am using a simpler, more compact serialization format that incremental cache.

Copy link
Contributor

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

@ilevkivskyi ilevkivskyi merged commit 795dde3 into python:master Jan 12, 2026
23 checks passed
@ilevkivskyi ilevkivskyi deleted the fix-parallel-serial-fmt branch January 12, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hauntsaninja hauntsaninja hauntsaninja approved these changes

@JukkaL JukkaL Awaiting requested review from JukkaL

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /