aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-09 13:03:37 +0100
committerGitHub <noreply@github.com>2018-11-09 13:03:37 +0100
commit130893debfd97c70e3a89d9ba49892f53e6b9d79 (patch)
tree35b45b8939a9ab75ec470f0defb37d1ee1f8c77e /Modules/Setup
parentHoist the float conversion out of the inner loop. (GH-10430) (diff)
downloadcpython-130893debfd97c70e3a89d9ba49892f53e6b9d79.tar.gz
cpython-130893debfd97c70e3a89d9ba49892f53e6b9d79.tar.bz2
cpython-130893debfd97c70e3a89d9ba49892f53e6b9d79.zip
bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363)
* All internal header files now require Py_BUILD_CORE or Py_BUILD_CORE_BUILTIN to be defined. * _json.c is now compiled with Py_BUILD_CORE_BUILTIN to access pycore_accu.h header. * Add an example to Modules/Setup to show how to build _json as a built-in module; it requires non trivial compiler options.
Diffstat (limited to 'Modules/Setup')
-rw-r--r--Modules/Setup1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Setup b/Modules/Setup
index e2b5f86f38e..e7b939d5518 100644
--- a/Modules/Setup
+++ b/Modules/Setup
@@ -180,6 +180,7 @@ _symtable symtablemodule.c
#_bisect _bisectmodule.c # Bisection algorithms
#_heapq _heapqmodule.c # Heap queue algorithm
#_asyncio _asynciomodule.c # Fast asyncio Future
+#_json -I$(srcdir)/Include/internal -DPy_BUILD_CORE_BUILTIN _json.c # _json speedups
#unicodedata unicodedata.c # static Unicode character database