summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
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 /Doc/whatsnew
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 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.10.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index f74dd1a..957a3e7 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -299,6 +299,14 @@ Porting to Python 3.10
Unicode object without initial data.
(Contributed by Inada Naoki in :issue:`36346`.)
+Deprecated
+----------
+
+* The ``PyUnicode_InternImmortal()`` function is now deprecated
+ and will be removed in Python 3.12: use :c:func:`PyUnicode_InternInPlace`
+ instead.
+ (Contributed by Victor Stinner in :issue:`41692`.)
+
Removed
-------