Skip to content

Commit 6c6f04d

Browse files
[3.14] Correct Stable ABI documentation for METH_FASTCALL (GH-149593) (GH-150852)
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 cb2836b commit 6c6f04d

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
@@ -1787,7 +1787,6 @@
17871787
[const.METH_COEXIST]
17881788
added = '3.2'
17891789
# METH_STACKLESS is undocumented
1790-
# METH_FASTCALL is not part of limited API.
17911790

17921791
# The following are defined in private headers, but historically
17931792
# they were exported as part of the stable ABI.
@@ -2121,8 +2120,6 @@
21212120

21222121
# New method flags in 3.7 (PEP 590):
21232122

2124-
[const.METH_FASTCALL]
2125-
added = '3.7'
21262123
[const.METH_METHOD]
21272124
added = '3.7'
21282125

@@ -2272,6 +2269,10 @@
22722269
[data.PyStructSequence_UnnamedField]
22732270
added = '3.11'
22742271

2272+
# Added in 3.7 but in the Stable ABI from 3.10
2273+
[const.METH_FASTCALL]
2274+
added = '3.10'
2275+
22752276
# Add stable Py_buffer API in Python 3.11 (https://bugs.python.org/issue45459)
22762277
[struct.Py_buffer]
22772278
added = '3.11'

0 commit comments

Comments
 (0)