Skip to content

[3.14] gh-161185: Fix test_cext: replace PyType_FromSlots() with PyType_FromSpec() - #161373

Merged
vstinner merged 1 commit into
python:3.14from
vstinner:test_cext14
Nov 5, 2026
Merged

vstinner merged 1 commit into
python:3.14from
vstinner:test_cext14

Conversation

@vstinner

@vstinner vstinner commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

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.

…e_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.
@vstinner
vstinner enabled auto-merge (squash) November 5, 2026 00:17
@vstinner
vstinner merged commit 8cb34fa into python:3.14 Nov 5, 2026
51 checks passed
@vstinner
vstinner deleted the test_cext14 branch November 5, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant