summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-11 21:36:37 (GMT)
committerGitHub <noreply@github.com>2021-10-11 21:36:37 (GMT)
commit1f316ea3b4fa319eec4f375fb683467b424c964e (patch)
treeead2218868249ca35e4ca17dfab6d1a92e9669e8 /Doc
parent03ea862b8a8234176761240ba122254e9eb11663 (diff)
downloadcpython-1f316ea3b4fa319eec4f375fb683467b424c964e.zip
cpython-1f316ea3b4fa319eec4f375fb683467b424c964e.tar.gz
cpython-1f316ea3b4fa319eec4f375fb683467b424c964e.tar.bz2
bpo-41123: Remove Py_UNICODE_COPY() and Py_UNICODE_FILL() (GH-28887)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.11.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 1455a59..0d30fe8 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -591,3 +591,8 @@ Removed
* ``Py_SET_ERRNO_ON_MATH_ERROR()``
(Contributed by Victor Stinner in :issue:`45412`.)
+
+* Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` macros, deprecated
+ since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or ``memcpy()``
+ (``wchar_t*`` string), and ``PyUnicode_Fill()`` functions instead.
+ (Contributed by Victor Stinner in :issue:`41123`.)