My application-level > exception handling is rarely that close to the file operations, > it's usually at a much higher level.
With is used for lots of other things, too. Does this same point apply to other use cases? For my part, I still find the extra indentation annoying required for with to work with files, even without a try block around it. :-( -CHB -- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/4W436HQXLKQTL4ZHHQ7VI7ZFFMJAQD3G/ Code of Conduct: http://python.org/psf/codeofconduct/