You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly sharing the same root cause as #9098 but I'm reporting as the behavior is different just in case (here no crashes, just incorrect results). It'd be great if pylint can support all the type parameters specification described in https://peps.python.org/pep-0695/.
I do think it's the same root cause as #9098. Not terribly difficult, just figuring out how to make assigned_stmts() return the correct thing. A few hours? (I'm traveling this week).
Bug description
Python 3.12.0
Possibly sharing the same root cause as #9098 but I'm reporting as the behavior is different just in case (here no crashes, just incorrect results). It'd be great if pylint can support all the type parameters specification described in https://peps.python.org/pep-0695/.
(EDIT: removed the second example in edit because it's not valid)
Configuration
Command used
Pylint output
Expected behavior
There should be no E0602, W0612, E0602 warnings and errors.
T
in the parameter annotation is the generic type.Pylint version
OS / Environment
macOS and Linux
Additional dependencies
The text was updated successfully, but these errors were encountered: