-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add BaseExceptionGroup #4681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BaseExceptionGroup #4681
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, let's see how test goes without the line
hmm. updating pickle/test_pickle by #4564 will be helpful. I don't think current patch has any problem. |
Updated test_pickle.py, but commented out |
Lib/test/test_pickle.py
Outdated
@@ -632,7 +632,9 @@ def test_exceptions(self): | |||
ResourceWarning, | |||
StopAsyncIteration, | |||
RecursionError, | |||
EncodingWarning): | |||
EncodingWarning, | |||
#ExceptionGroup, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#ExceptionGroup, | |
#ExceptionGroup, # TODO: RUSTPYTHON |
This might be a good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
The |
fd2eb01
to
aa508fa
Compare
Thanks, added CPython version to the commit message. |
043ec50
to
f083e1b
Compare
To be implemented
f083e1b
to
6cf99b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thank you for contributing!
Add BaseExceptionGroup that is introduced in Python 3.11. ExceptionGroup still needs to be implemented.
#4628