Skip to content

Commit 5a83d1b

Browse files
[3.15] Correct Stable ABI documentation for METH_FASTCALL (GH-149593) (GH-150853)
The current documentation says: > > METH_FASTCALL > Part of the Stable ABI since version 3.7. > > [...] > > Added in version 3.7. > > Changed in version 3.10: METH_FASTCALL is now part of the stable ABI. so is contradictory about when it was added to the Stable ABI. Looking at the header it seems like 3.10 is right. (cherry picked from commit 58beae7) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
1 parent 0ad9396 commit 5a83d1b

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

Doc/data/stable_abi.dat

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Misc/stable_abi.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,6 @@
18131813
[const.METH_COEXIST]
18141814
added = '3.2'
18151815
# METH_STACKLESS is undocumented
1816-
# METH_FASTCALL is not part of limited API.
18171816

18181817
# The following are defined in private headers, but historically
18191818
# they were exported as part of the stable ABI.
@@ -2149,8 +2148,6 @@
21492148

21502149
# New method flags in 3.7 (PEP 590):
21512150

2152-
[const.METH_FASTCALL]
2153-
added = '3.7'
21542151
[const.METH_METHOD]
21552152
added = '3.7'
21562153

@@ -2300,6 +2297,10 @@
23002297
[data.PyStructSequence_UnnamedField]
23012298
added = '3.11'
23022299

2300+
# Added in 3.7 but in the Stable ABI from 3.10
2301+
[const.METH_FASTCALL]
2302+
added = '3.10'
2303+
23032304
# Add stable Py_buffer API in Python 3.11 (https://bugs.python.org/issue45459)
23042305
[struct.Py_buffer]
23052306
added = '3.11'

0 commit comments

Comments
 (0)