Skip to content

Conversation

@iritkatriel
Copy link
Member

… makes auto selection between ExceptionGroup and BaseExceptionGroup

… makes auto selection between ExceptionGroup and BaseExceptionGroup
@iritkatriel iritkatriel marked this pull request as draft December 22, 2021 18:33
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO we should also add that the ExceptionGroup constructor rejects exceptions that are BaseExceptions but not Exceptions.

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. You can take this to the SC (and @warsaw) now.

Copy link
Member

@warsaw warsaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awaiting SC approval, but LGTM (with @gvanrossum 's suggestion). Thanks!

@Yhg1s
Copy link
Member

Yhg1s commented Dec 27, 2021

The (2022) SC approves.

@iritkatriel iritkatriel marked this pull request as ready for review December 27, 2021 21:50
@iritkatriel iritkatriel merged commit f2f542d into python:main Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants