Visitar URL original
Added UnidentifiedImageError by radarhere · Pull Request #4182 · python-pillow/Pillow · GitHub
Skip to content

Added UnidentifiedImageError - #4182

Merged
radarhere merged 2 commits into
python-pillow:masterfrom
radarhere:custom
Nov 20, 2019
Merged

radarhere merged 2 commits into
python-pillow:masterfrom
radarhere:custom

Conversation

@radarhere

Copy link
Copy Markdown
Member

Resolves #3892

See how this goes. Pillow 7.0.0 seems like a good time for such changes.

As suggested there, this is a custom error, that inherits from the previous type for backwards compatibility.

See also the related issues #1643 and #2339

@radarhere
radarhere force-pushed the custom branch 3 times, most recently from b8afcaf to 081b9fa Compare October 29, 2019 21:26
@hugovk

hugovk commented Oct 30, 2019

Copy link
Copy Markdown
Member

This'll need release notes.

Shall we add a simple regression test that the new one is an instance of the old one?

Comment thread docs/releasenotes/7.0.0.rst Resolved
Comment thread docs/releasenotes/7.0.0.rst Resolved
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
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.

Add a specific exception if image not recognized?

2 participants