diff options
author | Victor Stinner <vstinner@python.org> | 2020-10-27 03:36:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 03:36:22 (GMT) |
commit | 84f7382215b9e024a5590454726b6ae4b0ca70a0 (patch) | |
tree | 57a7eeb30f36f079b8adb7bb58e5e7708eb05db1 /Doc/whatsnew | |
parent | c9bc290dd6e3994a4ead2a224178bcba86f0c0e4 (diff) | |
download | cpython-84f7382215b9e024a5590454726b6ae4b0ca70a0.zip cpython-84f7382215b9e024a5590454726b6ae4b0ca70a0.tar.gz cpython-84f7382215b9e024a5590454726b6ae4b0ca70a0.tar.bz2 |
bpo-42157: Rename unicodedata.ucnhash_CAPI (GH-22994)
Removed the unicodedata.ucnhash_CAPI attribute which was an internal
PyCapsule object. The related private _PyUnicode_Name_CAPI structure
was moved to the internal C API.
Rename unicodedata.ucnhash_CAPI as unicodedata._ucnhash_CAPI.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.10.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 2ef2b5d..b2c6d10 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -300,6 +300,11 @@ Removed Python 3.5. (Contributed by Berker Peksag in :issue:`31844`.) +* Removed the ``unicodedata.ucnhash_CAPI`` attribute which was an internal + PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was + moved to the internal C API. + (Contributed by Victor Stinner in :issue:`42157`.) + Porting to Python 3.10 ====================== @@ -408,7 +413,7 @@ Porting to Python 3.10 (Contributed by Inada Naoki in :issue:`36346`.) * The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API - ``unicodedata.ucnhash_CAPI`` moves to the internal C API. + ``unicodedata.ucnhash_CAPI`` has been moved to the internal C API. (Contributed by Victor Stinner in :issue:`42157`.) Deprecated |