cpython/Lib/test/test_cext
Victor Stinner 8cb34fa96a
[3.14] gh-161185: Fix test_cext: replace PyType_FromSlots() with PyType_FromSpec() (#161373)
gh-161185: Fix test_cext: replace PyType_FromSlots() with PyType_FromSpec()

Replace PyType_FromSlots() with PyType_FromSpec(), and replace PySlot
with PyType_Spec. Python 3.14 doesn't support PyType_FromSlots(), it
has been added to Python 3.15.
2026-11-05 00:46:44 +00:00
..
__init__.py
extension.c [3.14] gh-161185: Fix test_cext: replace PyType_FromSlots() with PyType_FromSpec() (#161373) 2026-11-05 00:46:44 +00:00
extension.cpp
runtests.py
setup.py