On 3/26/2021 7:19 PM, Guido van Rossum wrote:
Everyone,
Given the resounding silence I'm inclined to submit this to the Steering Council. While I'm technically a co-author, Irit has done almost all the work, and she's done a great job. If there are no further issues I'll send this SC-wards on Monday.
The current version looks very carefully done. I leave it to the SC to review the details. But two thoughts on other possible uses. 1. unittests already uses the idea of exception groups by catching test_xyz exceptions and adding them to a group, to be printed it when all those for a file are run. If the PEP is accepted, someone might request an option to have them packaged as an ExceptionGroup. 2. At least some compilers for other languages can report multiple syntax exceptions, but at least for C, the usefulness of more than 2 or 3 is crippled by the synchronization problem. Python's compile() only reports the first, but I imagine that the usually dependable parsing into statements might make multiple reports for Python useful. I am thinking of a 'multiple' mode that repeatedly and recursively did 'single' compiles. (There would still be only one report per statement or compound statement header.) I have seen newbie code posted on Stackoverflow that needed a multi-error report. -- Terry Jan Reedy