[Python-Dev] Re: PEP 654: Exception Groups and except* [REPOST]

2021-04-20 Thread srku...@mail.de
Hi Irit, reading this subthread specifically, I just got a wild idea and I couldn‘t find any related information in the PEP: Why not extending BaseException by __group__ among __cause__ and __context__? Would this reduce some of the added complexity and thus increase broader acceptance? Cheer

[Python-Dev] Re: PEP 654: Exception Groups and except* [REPOST]

2021-04-20 Thread srku...@mail.de
Katriel wrote: > > Hi Sven, > > I don’t follow. What would the value of __group__ be and how would it work? > > Irit > >> On 20 Apr 2021, at 20:44, srku...@mail.de wrote: >>  >> Hi Irit, >> reading this subthread specifically, I just got a wild ide

[Python-Dev] Re: PEP 654: Exception Groups and except* [REPOST]

2021-04-21 Thread srku...@mail.de
to > define exception handling semantics (except/except*). > > >> On 20 Apr 2021, at 22:12, srku...@mail.de wrote: >> >> So, forgive me my relatively simple mental model about ExceptionGroup. I >> still try to create one for daily use. >> >> As noted in t