diff options
author | Victor Stinner <vstinner@python.org> | 2021-10-11 21:36:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 21:36:37 (GMT) |
commit | 1f316ea3b4fa319eec4f375fb683467b424c964e (patch) | |
tree | ead2218868249ca35e4ca17dfab6d1a92e9669e8 /Doc | |
parent | 03ea862b8a8234176761240ba122254e9eb11663 (diff) | |
download | cpython-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.rst | 5 |
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`.) |