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

special case types.DynamicClassAttribute as property-like #18150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tungol
Copy link
Contributor

@tungol tungol commented Nov 13, 2024

This enables typeshed to define types.DynamicClassAttribute as a different class from builtins.property without breakage.

Would enable python/typeshed#12762
see also #14133

Let me know if a test case is desired for this.

This enables typeshed to define types.DynamicClassAttribute as a
different class from builtins.property without breakage.
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

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.

1 participant