◐ Shell
clean mode source ↗

Fix typing, typevar, genericalias, and symboltable by youknowone · Pull Request #7091 · RustPython/RustPython

@youknowone youknowone changed the title fix more typing Fix typing, typevar, genericalias, and symboltable

Feb 13, 2026

coderabbitai[bot]

coderabbitai[bot]

coderabbitai[bot]

- TypeVar/ParamSpec repr: use infer_variance flag
- ParamSpec: add type_check on bound argument
- ParamSpecArgs/Kwargs: use equality instead of identity
- NoDefault: change to IMMUTABLETYPE flag
- subscript_generic: wrap TypeVarTuple in Unpack
- symboltable: selective name mangling in type param scopes
- symboltable: fix double default scanning for non-generic fns
- Unmark 4 passing tests in test_type_params

youknowone added a commit to youknowone/RustPython that referenced this pull request

Mar 22, 2026
- TypeVar/ParamSpec repr: use infer_variance flag
- ParamSpec: add type_check on bound argument
- ParamSpecArgs/Kwargs: use equality instead of identity
- NoDefault: change to IMMUTABLETYPE flag
- subscript_generic: wrap TypeVarTuple in Unpack
- symboltable: selective name mangling in type param scopes
- symboltable: fix double default scanning for non-generic fns
- Unmark 4 passing tests in test_type_params