◐ Shell
reader mode source ↗
Skip to content

[3.10] bpo-44632: Fix support of TypeVar in the union type (GH-27139)#27143

Merged
serhiy-storchaka merged 1 commit into
python:3.10from
miss-islington:backport-a158b20-3.10
Jul 15, 2021
Merged

[3.10] bpo-44632: Fix support of TypeVar in the union type (GH-27139)#27143
serhiy-storchaka merged 1 commit into
python:3.10from
miss-islington:backport-a158b20-3.10

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 14, 2021

Copy link
Copy Markdown
Contributor

int | TypeVar('T') returns now an instance of types.Union
instead of typing.Union.
(cherry picked from commit a158b20)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue44632

int | TypeVar('T') returns now an instance of types.Union
instead of typing.Union.
(cherry picked from commit a158b20)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants