From: Terry Jan Reedy Date: Fri, 18 Sep 2020 01:56:58 +0000 (-0400) Subject: bpo-41808: Add What's New 3.9 entry missing from master (#22294) X-Git-Tag: v3.10.0a1~97 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a8364780b7e881385f6fabcf072d599e80f51b8;p=thirdparty%2FPython%2Fcpython.git bpo-41808: Add What's New 3.9 entry missing from master (#22294) Entry was added by bpo-40939, #21012 and #21039. --- diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index e1ea799b7629..b3cc84d07f38 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