[issue38953] Untokenize and retokenize does not round-trip

2020-10-23 Thread Zac Hatfield-Dodds
Zac Hatfield-Dodds added the comment: Thanks for your comments Terry - I'm delighted that it's useful. It's been a while since I wrote that, and entirely possible that it's just a typo. Hypothesis does indeed support unittest, including for multiple-failure reporting and so on. You can se

[issue38953] Untokenize and retokenize does not round-trip

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zac, thank you for Hypothesmith. I am thinking about how to maybe use it to test certain IDLE functions. But your 2nd example, as posted, does not compile, even with 3.8. Typo? Thank you also for the two failure examples. I worked on untokenize in 2013 a

[issue38953] Untokenize and retokenize does not round-trip

2019-12-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue38953] Untokenize and retokenize does not round-trip

2019-12-02 Thread Zac Hatfield-Dodds
New submission from Zac Hatfield-Dodds : I've been working on a tool called Hypothesmith - https://github.com/Zac-HD/hypothesmith - to generate arbitrary Python source code, inspired by CSmith's success in finding C compiler bugs. It's based on the grammar but ultimately only generates strin