[Python-checkins] bpo-40939: Document removal of the old parser in 3.10 whatsnew (GH-23321)
miss-islington
webhook-mailer at python.org
Mon Nov 16 13:46:47 EST 2020
https://github.com/python/cpython/commit/c26d5916d68c47a20dd941f9e89afdaf85b2711e
commit: c26d5916d68c47a20dd941f9e89afdaf85b2711e
branch: master
author: Lysandros Nikolaou <lisandrosnik at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-11-16T10:46:37-08:00
summary:
bpo-40939: Document removal of the old parser in 3.10 whatsnew (GH-23321)
Automerge-Triggered-By: GH:lysnikolaou
files:
M Doc/whatsnew/3.10.rst
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index b8e6843c4b54f..87ba2e8af74ad 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
======================
More information about the Python-checkins
mailing list