summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-10-02 12:49:00 (GMT)
committerGitHub <noreply@github.com>2020-10-02 12:49:00 (GMT)
commit583ee5a5b1971a18ebeb877948ce6264da0cc8aa (patch)
tree451200b8c5eb5609f480db4a59fd068daa0207b7 /Misc/NEWS.d
parent497126f7ea955ee005e78f2cdd61f175d4fcdbb2 (diff)
downloadcpython-583ee5a5b1971a18ebeb877948ce6264da0cc8aa.zip
cpython-583ee5a5b1971a18ebeb877948ce6264da0cc8aa.tar.gz
cpython-583ee5a5b1971a18ebeb877948ce6264da0cc8aa.tar.bz2
bpo-41692: Deprecate PyUnicode_InternImmortal() (GH-22486)
The PyUnicode_InternImmortal() function is now deprecated and will be removed in Python 3.12: use PyUnicode_InternInPlace() instead.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/C API/2020-10-02-00-57-34.bpo-41692.fDScsF.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-10-02-00-57-34.bpo-41692.fDScsF.rst b/Misc/NEWS.d/next/C API/2020-10-02-00-57-34.bpo-41692.fDScsF.rst
new file mode 100644
index 0000000..1be37c6
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-10-02-00-57-34.bpo-41692.fDScsF.rst
@@ -0,0 +1,3 @@
+The ``PyUnicode_InternImmortal()`` function is now deprecated and will be
+removed in Python 3.12: use :c:func:`PyUnicode_InternInPlace` instead.
+Patch by Victor Stinner.