We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
njs noticed a bug in early exit:
that early exit on line 84 is wrong btw... it won't notice the Cancelled in MultiError([RuntimeError, MultiError([Cancelled, Cancelled])])
trio-util/src/trio_util/_exceptions.py
Lines 84 to 85 in bd32a3e
also this function may be adding unnecessary context on exceptions:
those raise statements will automatically attach the original MultiError object as a context
could do a __context__ dance along the lines of MultiError.catch() internals
__context__
MultiError.catch()
The text was updated successfully, but these errors were encountered:
add multi_error_defer_to()
58db781
the existing defer_to_cancelled(), which had a bug with nested MultiError (#1), is now implemented with the new function
fixed in 58db781
I haven't looked at this yet
Sorry, something went wrong.
No branches or pull requests
njs noticed a bug in early exit:
trio-util/src/trio_util/_exceptions.py
Lines 84 to 85 in bd32a3e
also this function may be adding unnecessary context on exceptions:
could do a
__context__
dance along the lines ofMultiError.catch()
internalsThe text was updated successfully, but these errors were encountered: