Skip to content

Close file pointer earlier#8895

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:fp_close
Apr 16, 2025
Merged

Close file pointer earlier#8895
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:fp_close

Conversation

@radarhere
Copy link
Copy Markdown
Member

Once we have finished with the file pointer from a context manager, subsequent code can be moved outside of the context manager.

@hugovk hugovk merged commit 3d41195 into python-pillow:main Apr 16, 2025
61 of 62 checks passed
@radarhere radarhere deleted the fp_close branch April 16, 2025 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants