Message154395
> 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). |
|
Date |
User |
Action |
Args |
2012-02-26 21:29:48 | pitrou | set | recipients:
+ pitrou, ncoghlan, benjamin.peterson, Arfrever |
2012-02-26 21:29:48 | pitrou | link | issue14133 messages |
2012-02-26 21:29:47 | pitrou | create | |
|