Skip to content

Recover from corrupted fixed-format cache meta file#20780

Merged
JukkaL merged 1 commit into
masterfrom
fix-read-bad-cache
Feb 11, 2026
Merged

Recover from corrupted fixed-format cache meta file#20780
JukkaL merged 1 commit into
masterfrom
fix-read-bad-cache

Conversation

@JukkaL

@JukkaL JukkaL commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

Various read functions may raise AssertionError in addition to ValueError.

Some read functions may raise an AssertionError in addition to ValueError.
@JukkaL JukkaL requested a review from ilevkivskyi February 11, 2026 14:10

@ilevkivskyi ilevkivskyi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@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. ✅

@JukkaL JukkaL merged commit 825c0bb into master Feb 11, 2026
23 checks passed
@JukkaL JukkaL deleted the fix-read-bad-cache branch February 11, 2026 15:26
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 participants