Handling forbidden combinations with except*
#9416
Labels
addressed in next version
Issue is fixed and will appear in next published version
enhancement request
New feature or request
Discussed in #9409
Originally posted by jakkdl November 7, 2024
I'm not sure how pyright wants to deal with syntax errors in general, but pyright currently doesn't flag any of the forbidden combinations from PEP-654 https://peps.python.org/pep-0654/#forbidden-combinations (mypy flags all of them)
There's probably some scenarios where this might matter for typing, and in case users aren't running other linters it might be good if pyright notifies the user immediately.
The text was updated successfully, but these errors were encountered: