File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1212- Fix bug where a subscripted ` TypeAliasType ` instance did not have all
1313 attributes of the original ` TypeAliasType ` instance on older Python versions.
1414 Patch by [ Daraan] ( https://github.com/Daraan ) and Alex Waygood.
15+ - Fix bug where subscripted ` TypeAliasType ` instances (and some other
16+ subscripted objects) had wrong parameters if they were directly
17+ subscripted with an ` Unpack ` object.
18+ Patch by [ Daraan] ( https://github.com/Daraan ) .
1519
1620# Release 4.12.2 (June 7, 2024)
1721
Original file line number Diff line number Diff line change @@ -7492,7 +7492,6 @@ class Foo(Generic[Unpack[Ts]]):
74927492 call_int_T = CallableP [Unpack [Tuple [int , T ]]]
74937493 self .assertEqual (call_int_T .__parameters__ , (T ,))
74947494
7495-
74967495 def test_alias_attributes (self ):
74977496 T = TypeVar ('T' )
74987497 T2 = TypeVar ('T2' )
You can’t perform that action at this time.
0 commit comments