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

Support Python distributions where _tkinter is compiled in #6006

Merged
merged 1 commit into from Mar 23, 2022

Commits on Feb 1, 2022

  1. Support Python distributions where _tkinter is compiled in

    In some cases, the Tk library may have been directly compiled in or
    bundled into the main executable by the time Pillow runs, in which case
    __file__ isn't available (nor would it make sense to use, anyway).
    
    If __file__ is missing, then set the library path to None and rely on
    our Tk loader being able to find the function pointers within the main
    binary - we know we probably have it because we've managed to import it
    already.
    lukegb committed Feb 1, 2022
    Copy the full SHA
    a13ba2e View commit details
    Browse the repository at this point in the history