summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2025-01-09 10:10:28 (GMT)
committerGitHub <noreply@github.com>2025-01-09 10:10:28 (GMT)
commit1439b81928f1b52c5a0ac7fd81fdd66afd5f72da (patch)
tree327fda70fac52911985d6c15f062e374a3734fd6 /Misc
parent4685401845ba3e2ab8c9f4a9a10aa2969b11985f (diff)
downloadcpython-1439b81928f1b52c5a0ac7fd81fdd66afd5f72da.zip
cpython-1439b81928f1b52c5a0ac7fd81fdd66afd5f72da.tar.gz
cpython-1439b81928f1b52c5a0ac7fd81fdd66afd5f72da.tar.bz2
gh-128629: Add Py_PACK_VERSION and Py_PACK_FULL_VERSION (GH-128630)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C_API/2025-01-08-13-13-18.gh-issue-128629.gSmzyl.rst2
-rw-r--r--Misc/stable_abi.toml4
2 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C_API/2025-01-08-13-13-18.gh-issue-128629.gSmzyl.rst b/Misc/NEWS.d/next/C_API/2025-01-08-13-13-18.gh-issue-128629.gSmzyl.rst
new file mode 100644
index 0000000..cde5bf3
--- /dev/null
+++ b/Misc/NEWS.d/next/C_API/2025-01-08-13-13-18.gh-issue-128629.gSmzyl.rst
@@ -0,0 +1,2 @@
+Add macros :c:func:`Py_PACK_VERSION` and :c:func:`Py_PACK_FULL_VERSION` for
+bit-packing Python version numbers.
diff --git a/Misc/stable_abi.toml b/Misc/stable_abi.toml
index f9e51f0..276526a 100644
--- a/Misc/stable_abi.toml
+++ b/Misc/stable_abi.toml
@@ -2540,3 +2540,7 @@
added = '3.14'
[function.PyType_Freeze]
added = '3.14'
+[function.Py_PACK_FULL_VERSION]
+ added = '3.14'
+[function.Py_PACK_VERSION]
+ added = '3.14'