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
{{ message }}
Repository navigation
Indexing the union type can return NotImplemented #88799
bpo-44632: Union with TypeVar does not work as intended
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-07-18.13:01:37.955>created_at=<Date2021-07-14.05:42:46.707>labels= ['interpreter-core', 'type-bug', '3.10', '3.11']
title='Indexing the union type can return NotImplemented'updated_at=<Date2021-07-18.13:01:37.954>user='https://github.com/serhiy-storchaka'
New changeset 3ea5332 by Serhiy Storchaka in branch 'main': bpo-44633: Fix parameter substitution of the union type with wrong types. (GH-27218) 3ea5332
New changeset 85b5829 by Miss Islington (bot) in branch '3.10': bpo-44633: Fix parameter substitution of the union type with wrong types. (GH-27218) (GH-27224) 85b5829
Activity
serhiy-storchaka commentedon Jul 14, 2021
It is related to bpo-44632.
serhiy-storchaka commentedon Jul 16, 2021
Expected raising a TypeError.
serhiy-storchaka commentedon Jul 18, 2021
New changeset 3ea5332 by Serhiy Storchaka in branch 'main':
bpo-44633: Fix parameter substitution of the union type with wrong types. (GH-27218)
3ea5332
serhiy-storchaka commentedon Jul 18, 2021
New changeset 85b5829 by Miss Islington (bot) in branch '3.10':
bpo-44633: Fix parameter substitution of the union type with wrong types. (GH-27218) (GH-27224)
85b5829