◐ Shell
clean mode source ↗

bpo-43916: Export the _PyStructSequence_InitType to fix build errors in the curses module by pablogsal · Pull Request #25768 · python/cpython

Why did you add the function to Doc/data/stable_abi.dat? It's excluded from the limited C API, it's only part of the internal C API.

If you don't export it it won't be usable from the extension modules IIRC. The CI was failing if I just export it and I don't add it to the stable_abi file.

If you have a better way to structure it so is not exported, please go ahead and fix it.