- Notifications
You must be signed in to change notification settings - Fork 271
Closed
Description
Problem description
The Py_REFCNT function is not part of the stable API in Python 3.13 and earlier, but it is used unconditionally in nb_ft.h:
Line 17 in 116e098
| if (Py_REFCNT(obj) > 0) { |
As a result, nanobind modules built using Python 3.14.0rc3 with Py_LIMITED_API=0x030c0000 cannot be imported on Python 3.12 and 3.13; they fail with libnanobind-abi3.so: undefined symbol: Py_REFCNT.
Reproducible example code
frankier
Metadata
Metadata
Assignees
Labels
No labels