[Python-checkins] bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133)
vstinner
webhook-mailer at python.org
Fri Apr 2 10:46:17 EDT 2021
https://github.com/python/cpython/commit/9bb5658bd122d40fff9f34a912be3297b303d18b
commit: 9bb5658bd122d40fff9f34a912be3297b303d18b
branch: master
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2021-04-02T16:46:08+02:00
summary:
bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133)
files:
M Tools/scripts/stable_abi.py
diff --git a/Tools/scripts/stable_abi.py b/Tools/scripts/stable_abi.py
index 14fcf2f56a207..1690cfce1727d 100755
--- a/Tools/scripts/stable_abi.py
+++ b/Tools/scripts/stable_abi.py
@@ -91,11 +91,6 @@ def check_library(stable_abi_file, library, abi_funcs, dynamic=False):
def generate_limited_api_symbols(args):
- if hasattr(sys, "gettotalrefcount"):
- print(
- "Stable ABI symbols cannot be generated from a debug build", file=sys.stderr
- )
- sys.exit(1)
library = sysconfig.get_config_var("LIBRARY")
ldlibrary = sysconfig.get_config_var("LDLIBRARY")
if ldlibrary != library:
More information about the Python-checkins
mailing list