we-like-parsers / pegen_experiments

Experiments for the official PEG parser generator for Python
https://github.com/python/cpython/tree/master/Tools/peg_generator
Other
273 stars 30 forks source link

Changes to AST coming in 3.9 #228

Closed gvanrossum closed 4 years ago

gvanrossum commented 4 years ago

Serhiy has a plan for simplifying the AST when it comes to indexing, e.g. the way the index for a[1,:] is represented.

https://bugs.python.org/issue34822

https://github.com/python/cpython/pull/9605

This may complicate the work for integration (#182) since the AST for 3.8 will now be different than the one for 3.9.

gvanrossum commented 4 years ago

Fixed in https://github.com/we-like-parsers/cpython/tree/radical .