Skip to content

Reject invalid radius in BoxBlur and GaussianBlur - #9983

Merged
radarhere merged 3 commits into
python-pillow:mainfrom
radarhere:radius
Sep 11, 2026
Merged

Reject invalid radius in BoxBlur and GaussianBlur#9983
radarhere merged 3 commits into
python-pillow:mainfrom
radarhere:radius

Conversation

@radarhere

Copy link
Copy Markdown
Member

Sequel to #9906. Part of #9902

  • Improve radius checking when constructing BoxBlur in Python, to check for numbers larger than an int, not merely infinite
  • check for invalid radius in C for BoxBlur, addressing BoxBlur when the radius is changed after initialisation, and GuassianBlur.

@radarhere
radarhere enabled auto-merge September 11, 2026 00:27
@radarhere
radarhere merged commit aaf269e into python-pillow:main Sep 11, 2026
63 of 65 checks passed
@radarhere
radarhere deleted the radius branch September 11, 2026 01:28
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