Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
- "3.12"
# CPython 3.13 final is scheduled for October 2024:
# https://peps.python.org/pep-0719/
# TODO: Reenable 3.13 once fixed.
#- "3.13"
- "3.13"

# PyPy versions:
# - https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md
Expand Down
3 changes: 3 additions & 0 deletions tests/test_pythoncapi_compat_cext.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,10 @@ test_frame(PyObject *Py_UNUSED(module), PyObject* Py_UNUSED(ignored))
// test PyFrame_GetLocals()
PyObject *locals = PyFrame_GetLocals(frame);
assert(locals != _Py_NULL);
// Python 3.13 creates a local proxy
#if PY_VERSION_HEX < 0x030D0000
assert(PyDict_Check(locals));
#endif

// test PyFrame_GetGlobals()
PyObject *globals = PyFrame_GetGlobals(frame);
Expand Down