Python 3.11 ExceptionGroup is incorrectly flagged as type value not ExceptionGroup #2762
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Expected behavior
PyLance infers
except*
statements to be of typeExceptionGroup
Actual behavior
PyLance infers exception types as the filter type
Code Snippet / Additional information
See https://peps.python.org/pep-0654/ for the reference on the syntax
The text was updated successfully, but these errors were encountered: