This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Zac Hatfield-Dodds
Recipients Zac Hatfield-Dodds, gvanrossum, lys.nikolaou, pablogsal
Date 2020-05-18.06:04:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589781875.12.0.981820641874.issue40661@roundup.psfhosted.org>
In-reply-to
Content
I know what else it might find either, but I still think it's worth running property-based tests in CI to find out!  The demo I wrote for my language summit talk doesn't have any parser tests, but still would have caught this bug in the pull request that introduced it.


The specific reproducer here is odd, because it's reported as an internal error in Hypothesmith - I use the `compile()` builtin to check that strings valid against an approximate grammar are actually valid.

It's structurally less complex than typical outputs because it's only a fragment of the tree being generated, but because shrinking doesn't run for generation-time errors it's also much harder to interpret than usual.
History
Date User Action Args
2020-05-18 06:04:35Zac Hatfield-Doddssetrecipients: + Zac Hatfield-Dodds, gvanrossum, lys.nikolaou, pablogsal
2020-05-18 06:04:35Zac Hatfield-Doddssetmessageid: <1589781875.12.0.981820641874.issue40661@roundup.psfhosted.org>
2020-05-18 06:04:35Zac Hatfield-Doddslinkissue40661 messages
2020-05-18 06:04:34Zac Hatfield-Doddscreate