gh-124445: Allow specializing generic ParamSpec aliases by tomasr8 · Pull Request #124512 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions Lib/test/test_genericalias.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Fix specialization of generic aliases that are generic over a
:class:`typing.ParamSpec` and have been specialized with a
nested type variable.
73 changes: 71 additions & 2 deletions Objects/genericaliasobject.c