Browse Source
bpo-1635741: _PyUnicode_Name_CAPI moves to internal C API (GH-22713)
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.pull/22990/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 74 additions and 49 deletions
-
6Doc/whatsnew/3.10.rst
-
22Include/internal/pycore_ucnhash.h
-
2Makefile.pre.in
-
4Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-1635741.e3BcPM.rst
-
2Modules/Setup
-
28Modules/unicodedata.c
-
31Objects/unicodeobject.c
-
2PCbuild/pythoncore.vcxproj
-
6PCbuild/pythoncore.vcxproj.filters
-
17Python/codecs.c
-
3setup.py
@ -0,0 +1,4 @@ |
|||
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. Patch by Victor Stinner. |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue