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

Support catching multiple exceptions introduced in pep654 in python 3.11 #7703

Closed
Pierre-Sassoulas opened this issue Nov 2, 2022 · 2 comments
Labels
Astroid Related to astroid Enhancement ✨ Improvement to a component Needs PR This issue is accepted, sufficiently specified and now needs an implementation python 3.11
Milestone

Comments

@Pierre-Sassoulas
Copy link
Member

Pierre-Sassoulas commented Nov 2, 2022

Current problem

This new syntax is wrongly detected as a syntax error right now

Desired solution

Handle the new syntax.

Additional context

https://docs.python.org/3.11/whatsnew/3.11.html#whatsnew311-pep654

@Pierre-Sassoulas Pierre-Sassoulas added Enhancement ✨ Improvement to a component python 3.11 labels Nov 2, 2022
@clavedeluna
Copy link
Collaborator

Spitballing here, but likely want to look into the exception grouping to be handled for the broad-exception-raised / broad-exception-caught messages.

@Pierre-Sassoulas Pierre-Sassoulas added Astroid Related to astroid Needs PR This issue is accepted, sufficiently specified and now needs an implementation labels Nov 4, 2022
@jacobtylerwalls jacobtylerwalls modified the milestones: 2.17.0, 2.15.0 Jul 6, 2023
@jacobtylerwalls
Copy link
Member

jacobtylerwalls commented Jul 6, 2023

Fixed in pylint-dev/astroid#2028

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Astroid Related to astroid Enhancement ✨ Improvement to a component Needs PR This issue is accepted, sufficiently specified and now needs an implementation python 3.11
Projects
None yet
Development

No branches or pull requests

3 participants