[Python-ideas] Arguments to exceptions
Steven D'Aprano
steve at pearwood.info
Wed Jul 5 21:26:34 EDT 2017
On Thu, Jul 06, 2017 at 03:32:21AM +1000, Steven D'Aprano wrote:
> On Wed, Jul 05, 2017 at 04:12:29PM +0000, Ed Kellett wrote:
> > Hi,
> >
> > On Wed, 5 Jul 2017 at 16:41 Steven D'Aprano <steve at pearwood.info> wrote:
> >
> > > and more. Third parties *are* providing rich exception APIs where it
> > > makes sense to do so, using the interface encouraged by PEP 352 (named
> > > attributes), without needing a default "StructuredException" in the
> > > core language.
> > >
> >
> > Your arguments might be used to dismiss anything.
>
> Do you have an answer for why the argument is wrong? People *are*
> writing structured exceptions, which undercuts the argument that we must
> do something because if we don't lead the way others won't.
[...]
Apologies, I hit the wrong key intending to save the email for later but
accidentally hit send instead, so the end of the post may be a bit (or a
lot) incoherent.
--
Steve
More information about the Python-ideas
mailing list