Kaydet (Commit) 13f1c331 authored tarafından Xavier de Gaye's avatar Xavier de Gaye

Issue #28918: Fix the cross compilation of xxlimited when Python

has been built with Py_DEBUG defined.
üst 21799618
...@@ -10,6 +10,9 @@ What's New in Python 3.6.1 release candidate 1 ...@@ -10,6 +10,9 @@ What's New in Python 3.6.1 release candidate 1
Core and Builtins Core and Builtins
----------------- -----------------
- Issue #28918: Fix the cross compilation of xxlimited when Python has been
built with Py_DEBUG defined.
- Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict. - Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict.
Improve speed of dict literal with constant keys up to 30%. Improve speed of dict literal with constant keys up to 30%.
......
...@@ -1630,7 +1630,7 @@ class PyBuildExt(build_ext): ...@@ -1630,7 +1630,7 @@ class PyBuildExt(build_ext):
## ext = Extension('xx', ['xxmodule.c']) ## ext = Extension('xx', ['xxmodule.c'])
## self.extensions.append(ext) ## self.extensions.append(ext)
if 'd' not in sys.abiflags: if 'd' not in sysconfig.get_config_var('ABIFLAGS'):
ext = Extension('xxlimited', ['xxlimited.c'], ext = Extension('xxlimited', ['xxlimited.c'],
define_macros=[('Py_LIMITED_API', '0x03050000')]) define_macros=[('Py_LIMITED_API', '0x03050000')])
self.extensions.append(ext) self.extensions.append(ext)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment