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
check_syntax_error(self, """type TA1[A, **A] = None""", "duplicate type parameter 'A'")
They only test A and **A collide. But, PEP clearly states that A and *A collide as well.
I will send a PR.
I am really sorry that I have to put all my review comments to #103764 as separate issues, but I've missed my chance to properly review the PEP's implementation.
Right now there are two tests for name colisions of type parameters of type aliases and functions:
cpython/Lib/test/test_type_params.py
Lines 11 to 12 in 27c68a6
cpython/Lib/test/test_type_aliases.py
Lines 11 to 12 in 27c68a6
They only test
A
and**A
collide. But, PEP clearly states thatA
and*A
collide as well.I will send a PR.
I am really sorry that I have to put all my review comments to #103764 as separate issues, but I've missed my chance to properly review the PEP's implementation.
Linked PRs
The text was updated successfully, but these errors were encountered: