]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40939: Remove PEG parser easter egg (__new_parser__) (#20802)
authorLysandros Nikolaou <lisandrosnik@gmail.com>
Thu, 11 Jun 2020 16:09:21 +0000 (19:09 +0300)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2020 16:09:21 +0000 (09:09 -0700)
commitbcd7deed9118e365c1225de2a2e1a81bf988c6ab
treede71fff4f10f86dc1fa46d5ca590fbd06dfb1a75
parent10e6506aa8261aacc89b49e629ae1c927fa5151c
bpo-40939: Remove PEG parser easter egg (__new_parser__) (#20802)

It no longer serves a purpose (there's only one parser) and having "new" in any name will eventually look odd. Also, it impinges on a potential sub-namespace, `__new_...__`.
Grammar/python.gram
Lib/keyword.py
Lib/pydoc.py
Parser/pegen/parse.c