On Fri, May 29, 2009 at 3:30 PM, Daniel Stutzbach daniel@stutzbachenterprises.com wrote:
On Fri, May 29, 2009 at 1:18 PM, Gerald Britton gerald.britton@gmail.com wrote:
I'm wondering if the "with" statement should have exception clauses like the "try" statement, even though this seems to defeat part of the reason for the "with" statement.
FWIW, the same suggestion previously came up in the following thread: http://mail.python.org/pipermail/python-ideas/2009-February/003169.html
Sounds like it also got a thumbs-down from the BDFL: http://mail.python.org/pipermail/python-ideas/2009-February/003184.html
Cheers, Chris