Skip to content
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

Image.core.outline will no longer raise an AttributeError #8794

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

radarhere
Copy link
Member

# experimental access to the outline API
Outline: Callable[[], Image.core._Outline] | None
try:
Outline = Image.core.outline
except AttributeError:
Outline = None

The AttributeError here would have happened previously if WITH_ARROW was not defined in C.

#8211 removed the #ifdef WITH_ARROW however, and so now, it is always defined.

@hugovk hugovk merged commit a4f5fea into python-pillow:main Mar 3, 2025
54 of 55 checks passed
@radarhere radarhere deleted the outline branch March 3, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants