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 pitrou
Recipients Arfrever, benjamin.peterson, ncoghlan, pitrou
Date 2012-02-26.21:29:47
SpamBayes Score 0.08545929
Marked as misclassified No
Message-id <1330291568.3345.4.camel@localhost.localdomain>
In-reply-to <1330291672.35.0.622371096858.issue14133@psf.upfronthosting.co.za>
Content
> The other problem with the "separate attribute" approach is that it
> makes the condition for suppressing the context ugly:
> 
>   exc.__suppress_context__ or exc.__cause__ is not None
> 
> That's hardly cleaner than:
> 
>   exc.__cause__ is not Ellipsis

I find it cleaner actually, because it states the intent rather than
hiding it behing an unexpected magic value (Ellipsis not being
exception-related).
History
Date User Action Args
2012-02-26 21:29:48pitrousetrecipients: + pitrou, ncoghlan, benjamin.peterson, Arfrever
2012-02-26 21:29:48pitroulinkissue14133 messages
2012-02-26 21:29:47pitroucreate