-
Notifications
You must be signed in to change notification settings - Fork 15
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
ExceptionGroup support #43
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since anyio 4.0, all task groups raise ExceptionGroups by default. We need to check whether that causes us to miss exceptions, and whether we are passing exception groups to users where we do not intent to raise one.
I did a quick scan for where we use task groups in the main code, assuming that no other anyio functions raise exception groups:
purerpc/src/purerpc/grpc_socket.py
Line 30 in a3c17dd
purerpc/src/purerpc/grpc_socket.py
Line 216 in a3c17dd
purerpc/src/purerpc/wrappers.py
Lines 103 to 107 in a3c17dd
purerpc/src/purerpc/wrappers.py
Lines 112 to 117 in a3c17dd
purerpc/src/purerpc/server.py
Lines 219 to 225 in a3c17dd
Other uses of tasks groups is in tests and some sample scripts. While those probably should be double checked, the ones above are the most important ones.
The text was updated successfully, but these errors were encountered: