On Thu, Apr 2, 2020 at 4:20 PM Nathaniel Smith <n...@pobox.com> wrote:
> On Thu, Apr 2, 2020 at 2:48 PM Pablo Galindo Salgado > <pablog...@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) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/TV2C2SVAUEWJ4ICSQ7TLFN3M74Y5W32M/ Code of Conduct: http://python.org/psf/codeofconduct/