Skip to content

Commit 2df8cd2

Browse files
committed
Add What's New entry
1 parent 7dca9f7 commit 2df8cd2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.10.rst

+5
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,10 @@ Porting to Python 3.10
179179
for historical reason. It is no longer allowed.
180180
(Contributed by Victor Stinner in :issue:`40839`.)
181181

182+
* ``PyUnicode_FromUnicode(NULL, size)`` and ``PyUnicode_FromStringAndSize(NULL, size)``
183+
raise ``DeprecationWarning`` now. Use :c:func:`PyUnicode_New` to allocate
184+
Unicode object without initial data.
185+
(Contributed by Inada Naoki in :issue:`36346`.)
186+
182187
Removed
183188
-------

0 commit comments

Comments
 (0)