diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 089f0528..cff42ccd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -93,6 +93,7 @@ jobs: uv run pytest -s --nbval --cov=pysrc ./pytest/ env: PYTHON_JULIACALL_THREADS: '2' + PYTHON_JULIACALL_HANDLE_SIGNALS: 'yes' - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 diff --git a/src/C/consts.jl b/src/C/consts.jl index 0bad8267..5df9be37 100644 --- a/src/C/consts.jl +++ b/src/C/consts.jl @@ -316,14 +316,12 @@ end vectorcall::Ptr{Cvoid} = C_NULL # Python 3.12+ fields - tp_watched::Cchar = 0 + watched::Cuchar = 0 # Python 3.13+ fields - tp_versions_used::Cushort = 0 + versions_used::UInt16 = 0 end -const PyTypePtr = Ptr{PyTypeObject} - @kwdef struct PySimpleObject{T} ob_base::PyObject = PyObject() value::T