Simplify C error handling by radarhere · Pull Request #9021 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Conversation

@radarhere

Copy link Copy Markdown

Member

Copying part of #8389

ImagingError_OSError and ImagingError_Clear are both only used once, and are quite simple. Let's just replace them with their contents.

@hugovk hugovk changed the title Simplified C error handling Simplify C error handling

Jun 16, 2025

@hugovk hugovk merged commit ef683e9 into python-pillow:main

Jun 16, 2025

96 of 103 checks passed

@radarhere radarhere deleted the err branch

June 16, 2025 10:02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@radarhere @hugovk