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

Catch more generalBaseException instead of Exception #1328

Conversation

mbergal
Copy link

@mbergal mbergal commented Nov 2, 2021

anyio.ExceptionGroup, for example, is not an Exception but is a BaseException

@mbergal
Copy link
Author

mbergal commented Nov 2, 2021

Might be not super relevant after 6c9bc55?diff=split

@Kludex
Copy link
Sponsor Member

Kludex commented Nov 2, 2021

I think we don't want to merge this even if #1262 didn't land.

You can read more about it on https://www.python.org/dev/peps/pep-0352/

But thanks for the PR! 😄

@Kludex Kludex closed this Nov 2, 2021
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