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
{{ message }}
Repository navigation
Support for PEP 695 (Type parameters / generics) #262
Related to #229: when writing a generic class/function that uses type parameters, the syntax is incorrectly highlighted. This syntax was introduced in 3.12 via PEP 695.
Currently these are incorrectly scoped as attribute access (see attached screenshots). MVP to reproduce is simply
Activity
asottile commentedon Mar 12, 2025
I took a hacky stab at this in #270