Skip to content

ImageTk is broken on pypy #2376

@wiredfool

Description

@wiredfool

Pypy 5.6 is segfaulting in _imagingtk.c:_tkinit:

    /* This will bomb if interp is invalid... */
    TkImaging_Init(interp);

It's consistent back to 2.5.0, which is well before the Tk reorg where we're dynamically getting the interpreter address.

What did you do?

It's trivially reproducable:

pypy viewer.py [path to image]

We're not actually testing this anywhere in our test scripts, and we're not even getting Tk recognized on pypy3 on travis.

I haven't dug back in the archives yet to determine if this is a pypy5.6 thing, or if it's more general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAny unexpected behavior, until confirmed feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions