[Python-ideas] with statement vs. try...except...finally

Nick Coghlan ncoghlan at gmail.com
Wed Jun 3 09:40:33 CEST 2009


Georg Brandl wrote:
> Anyway, doesn't it make more sense to report not what *operation*
> failed, but what the *failure* was (the specifics of the IOError)?

It probably isn't a good idea to overanalyse the toy example ;)

Hypocritically-yours,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------



More information about the Python-ideas mailing list