On 9/04/21 2:59 am, anthony.flury via Python-ideas wrote:
I was wondering whether a worthwhile extension might be to allow the `with` statement to have an `except` and `else` clauses
I don't think I would find this very useful. My application-level exception handling is rarely that close to the file operations, it's usually at a much higher level. -- Greg _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/OHZFRDHZZRLH25IXNUSQXFIF734I5773/ Code of Conduct: http://python.org/psf/codeofconduct/
