summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-02 14:46:08 (GMT)
committerGitHub <noreply@github.com>2021-04-02 14:46:08 (GMT)
commit9bb5658bd122d40fff9f34a912be3297b303d18b (patch)
tree4a25a09f57909a49c39ca0e9584a56864d97609d /Tools/scripts
parent3359cab038968935b40344fad7c30d211f9692e4 (diff)
downloadcpython-9bb5658bd122d40fff9f34a912be3297b303d18b.zip
cpython-9bb5658bd122d40fff9f34a912be3297b303d18b.tar.gz
cpython-9bb5658bd122d40fff9f34a912be3297b303d18b.tar.bz2
bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133)
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/stable_abi.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Tools/scripts/stable_abi.py b/Tools/scripts/stable_abi.py
index 14fcf2f..1690cfc 100755
--- a/Tools/scripts/stable_abi.py
+++ b/Tools/scripts/stable_abi.py
@@ -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: