Uh oh!
There was an error while loading. Please reload this page.
gh-85283: Build termios extension with the limited C API - #116928
Conversation
kulikjak
commented
Mar 19, 2024
Hi! After this commit, I am seeing the following errors when building main on Solaris: AFAICT, this is because of the newly added Should I create a PR with a fix? |
vstinner
commented
Mar 19, 2024
That's strange. I cannot find this line in the main branch. Do you have a patch on top of the main branch? If yes, you should consider to propose it upstream? In main, I have: if (r==-1) {
returnPyErr_SetFromErrno(state->TermiosError); // LINE 430
} |
Oh, I am very sorry. This is indeed from an internal patch and not in the It's a patch that workarounded an issue with the |
vstinner
commented
Mar 19, 2024
Well, either remove it, or propose it upstream. If you keep it, just add <errno.h> include ;-) |
📚 Documentation preview 📚: https://cpython-previews--116928.org.readthedocs.build/