-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
Replace MultiError with (Base)ExceptionGroup #2211
Comments
agronholm
added a commit
that referenced
this issue
Jan 16, 2022
agronholm
added a commit
that referenced
this issue
Jan 25, 2022
agronholm
added a commit
that referenced
this issue
Jan 25, 2022
paulo-raca
added a commit
to paulo-raca/fastapi
that referenced
this issue
Oct 4, 2022
This avoids a deprecation error when using anyio/trio: ``` trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (python-trio/trio#2211) ``` This "proper" fix depends on a new release of anyio
14 tasks
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that PEP 654 has been accepted, and is implemented in the upcoming Python 3.11, and with the backport out, we should retire
MultiError
in favor of the standard(Base)ExceptionGroup
exception(s).The text was updated successfully, but these errors were encountered: