Skip to content

Conversation

JelleZijlstra
Copy link
Member

During the PEP 695 implementation at one point I made TypeVar.name return garbage, and all of test_typing passed. So I decided to add a few more tests. (cherry picked from commit 2693194)

During the PEP 695 implementation at one point I made
TypeVar.__name__ return garbage, and all of test_typing passed.
So I decided to add a few more tests. In the process I discovered
a minor incompatibility from the C implementation of TypeVar:
empty constraints were returned as None instead of an empty tuple..
(cherry picked from commit 2693194)

Co-authored-by: Jelle Zijlstra <[email protected]>
@JelleZijlstra JelleZijlstra enabled auto-merge (squash) May 17, 2023 13:38
@JelleZijlstra JelleZijlstra merged commit f106aef into python:3.11 May 17, 2023
@JelleZijlstra JelleZijlstra deleted the backport-2693194-3.11 branch May 17, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip issue skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants