Skip to content

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

Closed
@Pierre-Sassoulas

Description

@Pierre-Sassoulas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    AstroidRelated to astroidEnhancement ✨Improvement to a componentNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationpython 3.11

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions