Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Apr 2, 2025

Resolves #8857

Like #8476, this adds another item to the pickled state. When an ImageFile instance is pickled and unpickled, it will now retain the image filename.

In thinking about the image filename, I've also added a change for the #8852 functionality - since the user might open the file with an absolute path, and then save it to a relative path, both targeting the same file, let's compare the absolute versions of the filename paths.

@hugovk
Copy link
Member

hugovk commented Apr 2, 2025

Let's be selective in what we merge before we decide whether a new release will go out, but this new-in-11.2.0-(take 1) is a good candidate. Thanks.

@hugovk hugovk merged commit 92eb58e into python-pillow:main Apr 2, 2025
55 checks passed
@radarhere radarhere deleted the filename branch April 2, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants