Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use consistent arguments for load_read and load_seek #7713

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

radarhere
Copy link
Member

load_read() does not have a consistent signature across the plugins where it is used. For example,

def load_read(self, read_bytes):

def load_read(self, bytes):

Neither does load_seek(). For example,

def load_seek(self, pos):

def load_seek(self):

@hugovk hugovk merged commit 80fd507 into python-pillow:main Mar 11, 2024
56 checks passed
@radarhere radarhere deleted the load branch March 12, 2024 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants