Closed befeleme closed 3 months ago
_Py_RestoreSignals()
has apparently been moved to internal CPython: https://github.com/python/cpython/commit/c9ce983ae1a361f431a0303aeb6f4b8e1d674275
https://github.com/python/cpython/blob/v3.13.0a6/Modules/signalmodule.c#L1931-L1951
Maybe this can be inlined?
This one is a warning here on a pyenv-installed 3.13.0b1 (not sure if -Werror=implicit-function-declaration
in the original report comes from Fedora defaults or what), but there are multiple actual errors:
uvloop/loop.c:4446:105: error: invalid type argument of ‘->’ (have ‘int’)
4446 | __pyx_assertions_enabled_flag = ! _PyInterpreterState_GetConfig(__Pyx_PyThreadState_Current->interp)->optimization_level;
| ^~
[...]
uvloop/loop.c: In function ‘__Pyx_PyInt_As_int’:
uvloop/loop.c:177390:27: error: too few arguments to function ‘_PyLong_AsByteArray’
177390 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
| ^~~~~~~~~~~~~~~~~~~
[...]
+1
PYTHONASYNCIODEBUG
in env?: n/aI try to build uvloop for Fedora Linux 41 with Python 3.13.0a5. The build fails with the information below.