[Python-ideas] why not try without except?

Bruce Leban bruce at leapyear.org
Sun Apr 26 03:08:26 CEST 2009


This should answer the question:
http://www.developerfusion.com/code/4325/on-error-resume-next-considered-harmful/

On Sat, Apr 25, 2009 at 6:05 PM, Steven D'Aprano <steve at pearwood.info>wrote:

> On Sat, 25 Apr 2009 11:32:39 pm Georg Brandl wrote:
>
> > And while we're at it, let's introduce
> >
> > on error resume next:
> >     foo()
> >     bar()
> >     baz()
>
> Is that meant to be a serious suggestion or a sarcastic rejoinder?
> Either way, I'm not sure what "on error resume next" is supposed to do,
> so I don't know whether it is a good idea or a bad idea.
>
>
>
> --
> Steven D'Aprano
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090425/6fd77f61/attachment.html>


More information about the Python-ideas mailing list