Skip to content

Commit c26d591

Browse files
authored
bpo-40939: Document removal of the old parser in 3.10 whatsnew (GH-23321)
Automerge-Triggered-By: GH:lysnikolaou
1 parent c79667f commit c26d591

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,16 @@ Removed
376376
moved to the internal C API.
377377
(Contributed by Victor Stinner in :issue:`42157`.)
378378

379+
* Removed the ``parser`` module, which was deprecated in 3.9 due to the
380+
switch to the new PEG parser, as well as all the C source and header files
381+
that were only being used by the old parser, including ``node.h``, ``parser.h``,
382+
``graminit.h`` and ``grammar.h``.
383+
384+
* Removed the Public C API functions :c:func:`PyParser_SimpleParseStringFlags`,
385+
:c:func:`PyParser_SimpleParseStringFlagsFilename`,
386+
:c:func:`PyParser_SimpleParseFileFlags` and :c:func:`PyNode_Compile`
387+
that were deprecated in 3.9 due to the switch to the new PEG parser.
388+
379389

380390
Porting to Python 3.10
381391
======================

0 commit comments

Comments
 (0)