This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients barry, gvanrossum, lemburg, michael.foord, ncoghlan, rhettinger, terry.reedy
Date 2013-07-28.05:22:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CADiSq7eU+kAFHsDyh5A+-KkvcwkmHBXDKwYnXqmXhEmpHpAwHw@mail.gmail.com>
In-reply-to <1374987581.31.0.434083488803.issue18472@psf.upfronthosting.co.za>
Content
The exception one is near-and-dear to my heart at the moment, as we're in
the process of refactoring a large app that currently does various checks
in the UI layer so it can present nice errors, when it should really be
leaving those checks to the business logic layer and then throwing app
specific exceptions that the UI layer understands and can present to the
users.

As Raymond noted, I think we need to be very cautious when it comes to
exception handling, especially with Go advocates propagating all sorts of
foolishness about the evils of exceptions and the notion that return codes
are somehow now a superior approach :P

However, I'm not sure we have a guideline about using deterministic
resource management to better cope with unexpected exceptions - I'll look
into that.
History
Date User Action Args
2013-07-28 05:22:07ncoghlansetrecipients: + ncoghlan, lemburg, gvanrossum, barry, rhettinger, terry.reedy, michael.foord
2013-07-28 05:22:07ncoghlanlinkissue18472 messages
2013-07-28 05:22:07ncoghlancreate