https://github.com/python/cpython/commit/fb404ab575de7ab7658069810b7d771fb70d9fe4
commit: fb404ab575de7ab7658069810b7d771fb70d9fe4
branch: main
author: Stan Ulbrych <[email protected]>
committer: encukou <[email protected]>
date: 2025-12-04T10:33:15+01:00
summary:
gh-142225: Fix `PyABIInfo_VAR` macro (GH-142230)
files:
A Misc/NEWS.d/next/C_API/2025-12-03-16-35-24.gh-issue-142225.vmCJoo.rst
M Include/modsupport.h
diff --git a/Include/modsupport.h b/Include/modsupport.h
index 094b9ff0e5ccf8..cb47ad8cd2727f 100644
--- a/Include/modsupport.h
+++ b/Include/modsupport.h
@@ -132,7 +132,7 @@ PyAPI_FUNC(int) PyABIInfo_Check(PyABIInfo *info, const char
*module_name);
) \
/////////////////////////////////////////////////////////
-#define _PyABIInfo_DEFAULT() { \
+#define _PyABIInfo_DEFAULT { \
1, 0, \
PyABIInfo_DEFAULT_FLAGS, \
PY_VERSION_HEX, \
diff --git
a/Misc/NEWS.d/next/C_API/2025-12-03-16-35-24.gh-issue-142225.vmCJoo.rst
b/Misc/NEWS.d/next/C_API/2025-12-03-16-35-24.gh-issue-142225.vmCJoo.rst
new file mode 100644
index 00000000000000..1eaf5b713d9cf5
--- /dev/null
+++ b/Misc/NEWS.d/next/C_API/2025-12-03-16-35-24.gh-issue-142225.vmCJoo.rst
@@ -0,0 +1 @@
+Fixed the :c:macro:`PyABIInfo_VAR` macro.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]