Great. Let’s wait for others to catch up with the discussion then.

On Thu, Feb 25, 2021 at 18:44 Irit Katriel <iritkatr...@googlemail.com>
wrote:

>
>
> On Fri, Feb 26, 2021 at 2:00 AM Guido van Rossum <gu...@python.org> wrote:
>
>> Then we should get some more opinions on this. I think it's the best idea
>> so far for kindness towards code using `except Exception:`.
>>
>
> I agree that it's the best idea so far.
> If someone says 'except Exception' they better mean it because we'll
> believe them, and if someone forgets to handle an ExceptionGroup then they
> have a bug and that's how it is.
>
>
>
>> OT: Is ExceptionGroup *really* immutable in the current implementation?
>> As long as the 'errors' field is a list, I think one could mutate the list
>> directly.
>>
>
> It's not, but we were going to make it an immutable tuple.
>
>
>> Which brings me to the question, do you have a branch that matches the
>> PEP yet?
>>
>>
> The implementation matches the PEP less and less every day because the PEP
> is developing faster than the implementation.
> But these aren't differences that are more than a technicality to fix
> (rename things, move an error from runtime to the parser, things like that).
> The except* implementation is probably pretty close to the PEP because
> it's the most recent bit.
>
>
>
>
>
>
> --
--Guido (mobile)
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/VS2JC7OK67D3DA3E45IR3IKHZWSLGBFO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to