From 5a8364780b7e881385f6fabcf072d599e80f51b8 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Thu, 17 Sep 2020 21:56:58 -0400 Subject: [PATCH] bpo-41808: Add What's New 3.9 entry missing from master (#22294) Entry was added by bpo-40939, #21012 and #21039. --- Doc/whatsnew/3.9.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index e1ea799b762..b3cc84d07f3 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -708,6 +708,11 @@ Deprecated users can leverage the Abstract Syntax Tree (AST) generation and compilation stage, using the :mod:`ast` module. +* The Public C API functions :c:func:`PyParser_SimpleParseStringFlags`, + :c:func:`PyParser_SimpleParseStringFlagsFilename`, + :c:func:`PyParser_SimpleParseFileFlags` and :c:func:`PyNode_Compile` + are deprecated and will be removed in Python 3.10 together with the old parser. + * Using :data:`NotImplemented` in a boolean context has been deprecated, as it is almost exclusively the result of incorrect rich comparator implementations. It will be made a :exc:`TypeError` in a future version