Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for metaclasses and typing_extensions.get_annotations #440

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

JelleZijlstra
Copy link
Member

Tests from python/cpython#122074. We don't have to use the base descriptor
approach here because we find the annotations directly in the __dict__
for the class, which avoids metaclass problems.

Tests from python/cpython#122074. We don't have to use the base descriptor
approach here because we find the annotations directly in the `__dict__`
for the class, which avoids metaclass problems.
@JelleZijlstra JelleZijlstra merged commit b6c0558 into python:main Sep 23, 2024
21 checks passed
@JelleZijlstra JelleZijlstra deleted the pep649-meta branch September 23, 2024 18:35
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.

2 participants