On 2020-07-05 13:39, Soni L. wrote:
- saves keywords and 2. can be passed as callables.
since there's no lambda: raise, 2 is a new feature.
How would you re-raise an exception?
What would be the replacement for:
raise ex from None
and so forth?
I prefer the clarity of knowing that it's raising an exception and not just calling. Calls usually return.
On 2020-07-05 1:15 a.m., Steven D'Aprano wrote:
On Sun, Jul 05, 2020 at 12:48:08AM -0300, Soni L. wrote:
ValueError()() should be the same as raise ValueError() but with an extra call level.
and raise should be deprecated.
Proposals that are given without justification should be rejected without justification:
"No they shouldn't."
If you feel like giving reasons for these changes other than "because I, Soni, say so", then I will consider the merits of those reasons before agreeing or disagreeing with the proposal.