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
TypeAliasType's traverse implementation does not visit its name. This means that we can leak memory if name is passed an instance of a mutable str subclass.
Bug report
Bug description:
TypeAliasType's traverse implementation does not visit its name. This means that we can leak memory if name is passed an instance of a mutable str subclass.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
nameattribute forTypeVar,TypeVarTuple,TypeAliasType,ParamSpec#140016nameattribute forTypeVar,TypeVarTuple,TypeAliasType,ParamSpec(GH-140016) #140063nameattribute forTypeVar,TypeVarTuple,TypeAliasType,ParamSpec(GH-140016) #140073