[Python-Dev] Re: PEP 654 -- Exception Groups and except* : request for feedback for SC submission

2021-03-04 Thread Glenn Linderman
On 3/4/2021 1:41 AM, Irit Katriel wrote: On Thu, Mar 4, 2021 at 1:38 AM Glenn Linderman > wrote: On 3/3/2021 2:49 PM, Irit Katriel via Python-Dev wrote: That's an interesting idea. Do you mean that one exception gets handled and the rest of the

[Python-Dev] Re: PEP 654 -- Exception Groups and except* : request for feedback for SC submission

2021-03-04 Thread Sven R. Kunze
Hi Irit, makes sense. So, in case of a *mixed-type ExceptionGroup,* SystemExit wins and forces the program to exit. Could you add your reasoning to the PEP? This would help future readers and illustrates the chain of thoughts. It might be obvious to you but from the outside it is really a

[Python-Dev] Re: PEP 654 -- Exception Groups and except* : request for feedback for SC submission

2021-03-04 Thread Baptiste Carvello
Le 03/03/2021 à 23:49, Irit Katriel via Python-Dev a écrit : > > On Wed, Mar 3, 2021 at 10:39 PM Greg Ewing > wrote: > > [...] > In other words, the only difference between except and > except* would be that multiple except* clauses can be run, >

[Python-Dev] Seeking review: Reinstate ability to run python.org locally with local PEPs repo

2021-03-04 Thread David Foster
The PEPs repo [1] has a README [2] with instructions for configuring a local installation of the python.org website such that you can develop PEPs locally and see how they will appear on python.org locally. However the README's instructions reference a python.org configuration setting

[Python-Dev] Re: PEP 654 -- Exception Groups and except* : request for feedback for SC submission

2021-03-04 Thread Irit Katriel via Python-Dev
On Thu, Mar 4, 2021 at 1:38 AM Glenn Linderman wrote: > On 3/3/2021 2:49 PM, Irit Katriel via Python-Dev wrote: > > That's an interesting idea. > > Do you mean that one exception gets handled and the rest of the group is > reraised? Or discarded? > > The value of sys.exc_info() (and the e in