Exception handling wart in Python

Leo Lipelis aeoo at myspamrealbox.com
Sat Nov 3 00:13:21 CET 2001

On Fri, 02 Nov 2001 08:42:42 -0500, Steve Holden wrote:

> "Leo Lipelis" <aeoo at myspamrealbox.com> wrote ... [...]

[plenty of horseshit snipped]

> because open can raise several exceptions which this statement fails to
> handle. Yup, that's horseshit all right. Just as a matter of interest,
> what would be your "approved" alternative for the above one-liner? Sorry
> if my response comes off as aggressive, which isn't in the spirit of
> this newsgroup. I'm actually trying to teach you something here!
> didn't-realise-i-cared-so-much-ly y'rs  - steve --
> http://www.holdenweb.com/

After whittling down my reply to bare essentials, all I am left with is:

You're an ass.

There.  I've tought you more and in fewer words. ;)

More information about the Python-list mailing list