Skip to content

Commit

Permalink
gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-…
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed May 8, 2022
1 parent 9c005c5 commit 9d25db9
Show file tree
Hide file tree
Showing 5 changed files with 211 additions and 145 deletions.
3 changes: 2 additions & 1 deletion Include/internal/pycore_global_strings.h
Expand Up @@ -201,8 +201,9 @@ struct _Py_global_strings {
STRUCT_FOR_ID(__subclasshook__)
STRUCT_FOR_ID(__truediv__)
STRUCT_FOR_ID(__trunc__)
STRUCT_FOR_ID(__typing_is_unpacked_typevartuple__)
STRUCT_FOR_ID(__typing_subst__)
STRUCT_FOR_ID(__typing_unpacked__)
STRUCT_FOR_ID(__typing_unpacked_tuple_args__)
STRUCT_FOR_ID(__warningregistry__)
STRUCT_FOR_ID(__weakref__)
STRUCT_FOR_ID(__xor__)
Expand Down
3 changes: 2 additions & 1 deletion Include/internal/pycore_runtime_init.h
Expand Up @@ -824,8 +824,9 @@ extern "C" {
INIT_ID(__subclasshook__), \
INIT_ID(__truediv__), \
INIT_ID(__trunc__), \
INIT_ID(__typing_is_unpacked_typevartuple__), \
INIT_ID(__typing_subst__), \
INIT_ID(__typing_unpacked__), \
INIT_ID(__typing_unpacked_tuple_args__), \
INIT_ID(__warningregistry__), \
INIT_ID(__weakref__), \
INIT_ID(__xor__), \
Expand Down

0 comments on commit 9d25db9

Please sign in to comment.