Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2df8cd2

Browse files
committedJun 17, 2020
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

Lines changed: 5 additions & 0 deletions
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)
Please sign in to comment.