Removed unused code by radarhere · Pull Request #8447 · python-pillow/Pillow
Navigation Menu
{{ message }}
python-pillow / Pillow Public
- Notifications You must be signed in to change notification settings
- Fork 2.4k
Merged
hugovk merged 1 commit intopython-pillow:mainfrom
Oct 7, 2024Merged
Removed unused code#8447
hugovk merged 1 commit intopython-pillow:mainfrom
Removed unused code#8447
hugovk merged 1 commit intopython-pillow:mainfrom
Conversation
Copy link Copy Markdown
Member
radarhere
commented
Oct 7, 2024
radarhere
commented
Lines 924 to 927 in 27c1bb2
| image = PyObject_CallFunction(fill, "ii", width, height); | |
| if (image == Py_None) { | |
| PyMem_Del(glyph_info); | |
| return Py_BuildValue("N(ii)", image, 0, 0); |
The scenario where the Python fill() function might return None began in #7247. However, when it was removed in #7645, the C code to handle it stayed. This PR now removes that code.
radarhere
added
the
Cleanup
label
hugovk
merged commit
026181e
into
python-pillow:main
radarhere
deleted the
imagingft_unused
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment