Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Freethreading interpreter will attempt to import unsupported stable ABI extension modules #120901

Copy link
Copy link
@da-woods

Description

@da-woods
Issue body actions

Bug report

Bug description:

Compile a stable ABI extension module with the filename "something.abi3.so" (or .pyd on Windows)

Run python -c "import something"

A freethreading build will attempt to import the extension module, even though it explicitly isn't compatible with the stable ABI. This (unsurprisingly) leads to a crash.

Tested on beta 3.13.0b2 (but a quick search didn't find relevant changes after that)

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtopic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.