We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f740d commit 601b3c0Copy full SHA for 601b3c0
setuptools/command/bdist_wheel.py
@@ -292,7 +292,7 @@ def _validate_py_limited_api(self) -> None:
292
293
if sysconfig.get_config_var("Py_GIL_DISABLED"):
294
# sys.abiflags is only defined on POSIX
295
- if getattr(sys, "abiflags", ""):
+ if hasattr(sys, "abiflags"):
296
abinote = f" ({sys.abiflags=!r}). "
297
else:
298
abinote = ". "
0 commit comments