[Python-checkins] gh-102304: Fix up Simple ABI doc (GH-105351)
encukou
webhook-mailer at python.org
Tue Jun 6 07:03:59 EDT 2023
https://github.com/python/cpython/commit/0202aa002e06acef9aa55ace0d939103df19cadd
commit: 0202aa002e06acef9aa55ace0d939103df19cadd
branch: main
author: Victor Stinner <vstinner at python.org>
committer: encukou <encukou at gmail.com>
date: 2023-06-06T13:03:51+02:00
summary:
gh-102304: Fix up Simple ABI doc (GH-105351)
files:
M Doc/c-api/stable.rst
M Makefile.pre.in
diff --git a/Doc/c-api/stable.rst b/Doc/c-api/stable.rst
index df01e737bbc4..149d4d6bac3e 100644
--- a/Doc/c-api/stable.rst
+++ b/Doc/c-api/stable.rst
@@ -55,6 +55,10 @@ CPython development and spend extra effort adjusting to changes.
Stable Application Binary Interface
===================================
+For simplicity, this document talks about *extensions*, but the Limited API
+and Stable ABI work the same way for all uses of the API – for example,
+embedding Python.
+
.. _limited-c-api:
Limited C API
@@ -96,10 +100,6 @@ The Stable ABI contains symbols exposed in the :ref:`Limited API
<limited-c-api>`, but also other ones – for example, functions necessary to
support older versions of the Limited API.
-(For simplicity, this document talks about *extensions*, but the Limited API
-and Stable ABI work the same way for all uses of the API – for example,
-embedding Python.)
-
On Windows, extensions that use the Stable ABI should be linked against
``python3.dll`` rather than a version-specific library such as
``python39.dll``.
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 9cc3164090d7..ae428ebb9a25 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1309,11 +1309,6 @@ check-abidump: all
.PHONY: regen-limited-abi
regen-limited-abi: all
- # Regenerate files using using Tools/build/stable_abi.py:
- # - Doc/data/stable_abi.dat
- # - Lib/test/test_stable_abi_ctypes.py
- # - Modules/_testcapi_feature_macros.inc
- # - PC/python3dll.c
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/build/stable_abi.py --generate-all $(srcdir)/Misc/stable_abi.toml
############################################################################
More information about the Python-checkins
mailing list