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

Remove some unnecessary compatibility code #313

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

akx
Copy link

@akx akx commented Feb 15, 2023

  • absolute_import isn't necessary since Python 3.
  • There's only one way to import Pillow>9.1.0, so there's no need to have a shim anymore.

@akx akx marked this pull request as draft February 15, 2023 14:46
@akx
Copy link
Author

akx commented Feb 15, 2023

(Ah, I realized tests won't quite work the same without the module exporting Image as None, hence a draft until #316 is taken care of...)

@akx akx mentioned this pull request Feb 15, 2023
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.

None yet

1 participant