Skip to content

[3.10] bpo-44633: Fix parameter substitution of the union type with wrong types. (GH-27218)#27224

Merged
serhiy-storchaka merged 1 commit intopython:3.10from
miss-islington:backport-3ea5332-3.10
Jul 18, 2021
Merged

[3.10] bpo-44633: Fix parameter substitution of the union type with wrong types. (GH-27218)#27224
serhiy-storchaka merged 1 commit intopython:3.10from
miss-islington:backport-3ea5332-3.10

Conversation

@miss-islington
Copy link
Contributor

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

A TypeError is now raised instead of returning NotImplemented.
(cherry picked from commit 3ea5332)

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

https://bugs.python.org/issue44633

…pes. (pythonGH-27218)

A TypeError is now raised instead of returning NotImplemented.
(cherry picked from commit 3ea5332)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka serhiy-storchaka merged commit 85b5829 into python:3.10 Jul 18, 2021
@miss-islington miss-islington deleted the backport-3ea5332-3.10 branch July 18, 2021 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants