gh-85283: _stat extension now uses the limited C API#110711
Conversation
|
Sorry, something went wrong.
Sorry, something went wrong.
|
I approved as this seems trivial so "lets do it!", obviously figuring out the windows build excitement in CI needs to happen first. |
Sorry, something went wrong.
|
What's going on? Now Windows build fails with: |
Sorry, something went wrong.
Ok, I found the root issue and wrote a fix: PR gh-110725. The problem comes from PyAPI_FUNC(), PyAPI_DATA() and PyMODINIT_FUNC macros which have a different implementation depending if the 3 Py_BUILD_CORE macros are defined or not. |
Sorry, something went wrong.
The _stat C extension is now built with the limited C API.
052d021 to
a0cc4f5
Compare
October 11, 2023 21:12
|
Merged, thanks for the review @gpshead and @erlend-aasland. |
Sorry, something went wrong.
…0711) pythongh-85283: _stat extension uses the limited C API The _stat C extension is now built with the limited C API.
The _stat C extension is now built with the limited C API.
📚 Documentation preview 📚: https://cpython-previews--110711.org.readthedocs.build/