You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Python 3.14t free-threaded build: use Py_REFCNT() instead of ob_refcnt
- Declare Py_REFCNT() as external C function from Python.h
- Replace direct ob_refcnt access with Py_REFCNT() macro (2 occurrences)
- Add NULL checks before calling Py_REFCNT() to prevent null pointer dereference
- This fixes compilation errors in Python 3.14t (free-threaded/nogil) build
where ob_refcnt is not directly accessible in PyObject structure
- All 66 tests pass
0 commit comments