bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133)

This commit is contained in:
Victor Stinner 2021-04-02 16:46:08 +02:00 committed by GitHub
parent 3359cab038
commit 9bb5658bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -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: