Skip to content

Commit

Permalink
Add What's New entry
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Jun 17, 2020
1 parent 7dca9f7 commit 2df8cd2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/whatsnew/3.10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,5 +179,10 @@ Porting to Python 3.10
for historical reason. It is no longer allowed.
(Contributed by Victor Stinner in :issue:`40839`.)

* ``PyUnicode_FromUnicode(NULL, size)`` and ``PyUnicode_FromStringAndSize(NULL, size)``
raise ``DeprecationWarning`` now. Use :c:func:`PyUnicode_New` to allocate
Unicode object without initial data.
(Contributed by Inada Naoki in :issue:`36346`.)

Removed
-------

0 comments on commit 2df8cd2

Please sign in to comment.