Staging
v0.8.1
https://github.com/python/cpython
Revision 3c6c86ab77464e6bcb489064d0ec1be5d1b19f3a authored by Miss Islington (bot) on 25 May 2020, 20:11:36 UTC, committed by GitHub on 25 May 2020, 20:11:36 UTC

The scripts in `Tools/peg_generator/scripts` mostly assume that
`ast.parse` and `compile` use the old parser, since this was the
state of things, while we were developing them. They need to be
updated to always use the correct parser. `_peg_parser` is being
extended to support both parsing and compiling with both parsers.
(cherry picked from commit 9645930b5bc1833ef495891d22052d1ba65ab7ea)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
1 parent 318a18e
History
Tip revision: 3c6c86ab77464e6bcb489064d0ec1be5d1b19f3a authored by Miss Islington (bot) on 25 May 2020, 20:11:36 UTC
bpo-40688: Use the correct parser in the peg_generator scripts (GH-20235)
Tip revision: 3c6c86a
File Mode Size
pegen
pgen
Python.asdl -rw-r--r-- 5.2 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.7 KB
asdl_c.py -rwxr-xr-x 48.3 KB
grammar1.c -rw-r--r-- 1.0 KB
listnode.c -rw-r--r-- 1.7 KB
myreadline.c -rw-r--r-- 10.6 KB
node.c -rw-r--r-- 5.1 KB
parser.c -rw-r--r-- 12.4 KB
parser.h -rw-r--r-- 1.4 KB
parsetok.c -rw-r--r-- 14.0 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 57.0 KB
tokenizer.h -rw-r--r-- 3.8 KB

back to top