On Thu, Apr 02, 2020 at 05:17:31PM -0700, Guido van Rossum wrote:
On Thu, Apr 2, 2020 at 4:20 PM Nathaniel Smith email@example.com wrote:
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
Even just running it in a dev build against the corpus of the top few thousand packages on pypi might give enough confidence -- I had a script to download the top N packages and run some script over the python files contained therein, but I can't seem to find it atm.