Author pitrou
Recipients adaptivelogic, eric.snow, gvanrossum, martius, ncoghlan, pitrou, rbcollins, rhettinger, vstinner, yselivanov
Date 2015-01-26.23:34:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <54C6CEE6.7050701@free.fr>
In-reply-to <1422315057.67.0.99933845598.issue17911@psf.upfronthosting.co.za>
Content
Le 27/01/2015 00:30, Robert Collins a écrit :
> 
> Robert Collins added the comment:
> 
> So its fairly simple IMO: it will be more code, not less, to support
the non-triple API, *and* it can be added later, unless we're proposing
not to support the triple API at all (which hasn't been proposed AFAICT).

I am proposing it. Passing a single exception instance is the natural
way of expressing such an API. Crippling Python 3 APIs for the purpose
of backwards compatibility is not ok.

Nobody wants to write some_func(exc.__class__, exc, exc.__traceback__)
when they could simply write some_func(exc).
History
Date User Action Args
2015-01-26 23:34:01pitrousetrecipients: + pitrou, gvanrossum, rhettinger, ncoghlan, vstinner, rbcollins, eric.snow, yselivanov, adaptivelogic, martius
2015-01-26 23:34:01pitroulinkissue17911 messages
2015-01-26 23:34:01pitroucreate