From c26d5916d68c47a20dd941f9e89afdaf85b2711e Mon Sep 17 00:00:00 2001 From: Lysandros Nikolaou Date: Mon, 16 Nov 2020 20:46:37 +0200 Subject: [PATCH] bpo-40939: Document removal of the old parser in 3.10 whatsnew (GH-23321) Automerge-Triggered-By: GH:lysnikolaou --- Doc/whatsnew/3.10.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index b8e6843c4b5..87ba2e8af74 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -376,6 +376,16 @@ Removed moved to the internal C API. (Contributed by Victor Stinner in :issue:`42157`.) +* Removed the ``parser`` module, which was deprecated in 3.9 due to the + switch to the new PEG parser, as well as all the C source and header files + that were only being used by the old parser, including ``node.h``, ``parser.h``, + ``graminit.h`` and ``grammar.h``. + +* Removed the Public C API functions :c:func:`PyParser_SimpleParseStringFlags`, + :c:func:`PyParser_SimpleParseStringFlagsFilename`, + :c:func:`PyParser_SimpleParseFileFlags` and :c:func:`PyNode_Compile` + that were deprecated in 3.9 due to the switch to the new PEG parser. + Porting to Python 3.10 ======================