Skip to content

Conversation

@AlexWaygood
Copy link
Member

Closes python#3800 (no other solution possible until we have higher-kinded `TypeVar`s)
- `__or__` was added to `TypeVar` in Python 3.10: https://bugs.python.org/issue41428 (this PR: python/cpython#21515)
- `__or__` was added to `ForwardRef` in Python 3.11: https://bugs.python.org/issue45489
@AlexWaygood
Copy link
Member Author

^Sorry about the weird commit history there, I ran into conflicts between my local version of "patch-3" and my remote version of "patch-3".

@Akuli
Copy link
Collaborator

Akuli commented Dec 5, 2021

It's ok, we have squash and merge :)

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2021

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit ff4bd7c into python:master Dec 5, 2021
@AlexWaygood AlexWaygood deleted the patch-3 branch December 5, 2021 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants