summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.13.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.13.rst')
-rw-r--r--Doc/whatsnew/3.13.rst9
1 files changed, 0 insertions, 9 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 84d50a6..291e276 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -1149,9 +1149,6 @@ New Features
:c:func:`PyErr_WriteUnraisable`, but allow to customize the warning mesage.
(Contributed by Serhiy Storchaka in :gh:`108082`.)
-* Add :c:func:`PyUnicode_AsUTF8` function to the limited C API.
- (Contributed by Victor Stinner in :gh:`111089`.)
-
Porting to Python 3.13
----------------------
@@ -1222,12 +1219,6 @@ Porting to Python 3.13
Note that ``Py_TRASHCAN_BEGIN`` has a second argument which
should be the deallocation function it is in.
-* The :c:func:`PyUnicode_AsUTF8` function now raises an exception if the string
- contains embedded null characters. To accept embedded null characters and
- truncate on purpose at the first null byte,
- ``PyUnicode_AsUTF8AndSize(unicode, NULL)`` can be used instead.
- (Contributed by Victor Stinner in :gh:`111089`.)
-
* On Windows, ``Python.h`` no longer includes the ``<stddef.h>`` standard
header file. If needed, it should now be included explicitly. For example, it
provides ``offsetof()`` function, and ``size_t`` and ``ptrdiff_t`` types.