Skip to content

Add ValueError to possible plistlib.loads exceptions#55

Merged
StanFromIreland merged 1 commit into
python:mainfrom
StanFromIreland:valuerrror-plist
Jun 1, 2026
Merged

Add ValueError to possible plistlib.loads exceptions#55
StanFromIreland merged 1 commit into
python:mainfrom
StanFromIreland:valuerrror-plist

Conversation

@StanFromIreland
Copy link
Copy Markdown
Member

To fix the fuzzer when python/cpython#148911 is merged.

Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

Thank you.

@serhiy-storchaka
Copy link
Copy Markdown
Member

Please merge.

@StanFromIreland StanFromIreland marked this pull request as ready for review May 30, 2026 10:55
@StanFromIreland StanFromIreland requested a review from a team as a code owner May 30, 2026 10:55
Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM.

python/cpython#149860 was merged:

The parser now raises ValueError for known unsupported multi-byte encodings such us "ISO-2022-JP" or "raw-unicode-escape" instead of failing later, when encounter non-ASCII data.

@StanFromIreland: Can you merge the PR?

@StanFromIreland
Copy link
Copy Markdown
Member Author

Can you merge the PR?

I’d love to but this repository requires a peer review :-(

@StanFromIreland StanFromIreland enabled auto-merge (squash) June 1, 2026 11:31
@vstinner
Copy link
Copy Markdown
Member

vstinner commented Jun 1, 2026

@hugovk: Would you mind to review this change?

@StanFromIreland StanFromIreland merged commit 2ca91df into python:main Jun 1, 2026
3 checks passed
@StanFromIreland StanFromIreland deleted the valuerrror-plist branch June 1, 2026 12:58
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.

4 participants