Skip to content

Allow loading ImageFile state from Pillow < 11.2.1#8938

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:state
Apr 29, 2025
Merged

Allow loading ImageFile state from Pillow < 11.2.1#8938
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:state

Conversation

@radarhere
Copy link
Copy Markdown
Member

Resolves #8935

A user pickled an imageFile before #8859 added self.filename to the state, and would like to unpickle the data with the latest version of Pillow.

Copy link
Copy Markdown

@manigoad manigoad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it locally and it works as expected

@hugovk hugovk merged commit e23f017 into python-pillow:main Apr 29, 2025
55 checks passed
@radarhere radarhere deleted the state branch April 29, 2025 12:17
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.

Unpickle Image serialized with older version of Pillow

3 participants