On 2020-07-05 14:10, Soni L. wrote:


On 2020-07-05 10:03 a.m., MRAB wrote:
On 2020-07-05 13:39, Soni L. wrote:
1. 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?

just call it.

Wouldn't that just conflate raise with re-raise?


What would be the replacement for:

    raise ex from None

and so forth?

no idea. just don't use that anymore?

[snip]
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/XJNVGMBPF3W5HJN5A5TLQURYR4HPBWPE/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to