summaryrefslogtreecommitdiffstats
path: root/Modules/Setup
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-10-26 15:43:47 (GMT)
committerGitHub <noreply@github.com>2020-10-26 15:43:47 (GMT)
commit47e1afd2a1793b5818a16c41307a4ce976331649 (patch)
treee92f8f10238092c4a9b47d6ef9d3bd6c47bde70e /Modules/Setup
parentb510e101f8b5b31276bf97b921ca9247162881d2 (diff)
downloadcpython-47e1afd2a1793b5818a16c41307a4ce976331649.zip
cpython-47e1afd2a1793b5818a16c41307a4ce976331649.tar.gz
cpython-47e1afd2a1793b5818a16c41307a4ce976331649.tar.bz2
bpo-1635741: _PyUnicode_Name_CAPI moves to internal C API (GH-22713)
The private _PyUnicode_Name_CAPI structure of the PyCapsule API unicodedata.ucnhash_CAPI moves to the internal C API. Moreover, the structure gets a new state member which must be passed to the getcode() and getname() functions. * Move Include/ucnhash.h to Include/internal/pycore_ucnhash.h * unicodedata module is now built with Py_BUILD_CORE_MODULE. * unicodedata: move hashAPI variable into unicodedata_module_state.
Diffstat (limited to 'Modules/Setup')
-rw-r--r--Modules/Setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Setup b/Modules/Setup
index 87f3a7c..6f9bb81 100644
--- a/Modules/Setup
+++ b/Modules/Setup
@@ -185,7 +185,7 @@ _symtable symtablemodule.c
#_json -I$(srcdir)/Include/internal -DPy_BUILD_CORE_BUILTIN _json.c # _json speedups
#_statistics _statisticsmodule.c # statistics accelerator
-#unicodedata unicodedata.c # static Unicode character database
+#unicodedata unicodedata.c -DPy_BUILD_CORE_BUILTIN # static Unicode character database
# Modules with some UNIX dependencies -- on by default: