]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133)
authorVictor Stinner <vstinner@python.org>
Fri, 2 Apr 2021 14:46:08 +0000 (16:46 +0200)
committerGitHub <noreply@github.com>
Fri, 2 Apr 2021 14:46:08 +0000 (16:46 +0200)
Tools/scripts/stable_abi.py

index 14fcf2f56a207344605c4de854478c4135613c5b..1690cfce1727d7c7f582b373344832e39b6382ca 100755 (executable)
@@ -91,11 +91,6 @@ https://www.python.org/dev/peps/pep-0384/
 
 
 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: