mirror of
https://github.com/python/cpython.git
synced 2024-12-02 22:35:26 +08:00
bpo-41111: Don't build xxlimited with Py_TRACE_REFS macro (GH-25180)
This commit is contained in:
parent
354b015c17
commit
5787ba4a45
3
setup.py
3
setup.py
@ -1864,7 +1864,8 @@ class PyBuildExt(build_ext):
|
||||
## # Uncomment these lines if you want to play with xxmodule.c
|
||||
## self.add(Extension('xx', ['xxmodule.c']))
|
||||
|
||||
# Limited C API
|
||||
# The limited C API is not compatible with the Py_TRACE_REFS macro.
|
||||
if not sysconfig.get_config_var('Py_TRACE_REFS'):
|
||||
self.add(Extension('xxlimited', ['xxlimited.c']))
|
||||
self.add(Extension('xxlimited_35', ['xxlimited_35.c']))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user