summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-10-26 18:19:36 (GMT)
committerGitHub <noreply@github.com>2020-10-26 18:19:36 (GMT)
commit920cb647ba23feab7987d0dac1bd63bfc2ffc4c0 (patch)
tree9ce3f058110f5fef8469d7a4421adc7d66fe85a8 /Misc/NEWS.d
parent8374d2ee1589791be8892b00f4bbf8121dde24bd (diff)
downloadcpython-920cb647ba23feab7987d0dac1bd63bfc2ffc4c0.zip
cpython-920cb647ba23feab7987d0dac1bd63bfc2ffc4c0.tar.gz
cpython-920cb647ba23feab7987d0dac1bd63bfc2ffc4c0.tar.bz2
bpo-42157: unicodedata avoids references to UCD_Type (GH-22990)
* UCD_Check() uses PyModule_Check() * Simplify the internal _PyUnicode_Name_CAPI structure: * Remove size and state members * Remove state and self parameters of getcode() and getname() functions * Remove global_module_state
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-1635741.e3BcPM.rst4
-rw-r--r--Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-42157.e3BcPM.rst3
2 files changed, 3 insertions, 4 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-1635741.e3BcPM.rst b/Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-1635741.e3BcPM.rst
deleted file mode 100644
index 5272ad5..0000000
--- a/Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-1635741.e3BcPM.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-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.
diff --git a/Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-42157.e3BcPM.rst b/Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-42157.e3BcPM.rst
new file mode 100644
index 0000000..1f05186
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-42157.e3BcPM.rst
@@ -0,0 +1,3 @@
+The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API
+``unicodedata.ucnhash_CAPI`` moves to the internal C API.
+Patch by Victor Stinner.