On Thu, Apr 2, 2020 at 4:20 PM Nathaniel Smith <njs@pobox.com> wrote:
On Thu, Apr 2, 2020 at 2:48 PM Pablo Galindo Salgado
<pablogsal@gmail.com> wrote:
> > About the migration, can I ask who is going to (help to) fix projects
> which rely on the AST?
> I think you misunderstood: The AST is exactly the same as the old and the new parser. The only
> the thing that the new parser does is not generate an immediate CST (Concrete Syntax Tree) and that
> is only half-exposed in the parser module.

If the AST is supposed to be the same, then would it make sense to
temporarily – maybe just during the alpha/beta period – always run
*both* parsers and confirm that they match?

That's not a bad idea! https://github.com/we-like-parsers/cpython/issues/33
--Guido van Rossum (python.org/~guido)