Skip to content
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 support for various Python 3.11 things #72

Merged
merged 5 commits into from Oct 21, 2023

Conversation

tmaxwell-anthropic
Copy link
Contributor

  • Ensure that exceptions always pickle __context__, __suppress_context__, and __notes__. (Technically __context__ and __suppress_context__ existed before Python 3.11 too, but I'm adding support just now.)
  • When installing pickle support for an exception instance, recurse on __context__ and ExceptionGroup.exceptions in addition to __cause__.

@ionelmc ionelmc merged commit dcb16f0 into ionelmc:master Oct 21, 2023
24 of 26 checks passed
@ionelmc
Copy link
Owner

ionelmc commented Oct 21, 2023

Thank you.

@ionelmc
Copy link
Owner

ionelmc commented Oct 22, 2023

Released in 3.0 today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants