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