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 runtime __slots__ attribute to attrs #15651

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Add runtime __slots__ attribute to attrs #15651

merged 1 commit into from
Jul 12, 2023

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Jul 12, 2023

This is similar to #15649 but for attrs :)
Refs #15647

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

graphql-core (https://github.com/graphql-python/graphql-core): typechecking got 1.06x slower (287.6s -> 303.8s)
(Performance measurements are based on a single noisy sample)

@sobolevn sobolevn merged commit b78f4b5 into master Jul 12, 2023
17 checks passed
@sobolevn sobolevn deleted the issue-15647-attrs branch July 12, 2023 19:59
@sobolevn
Copy link
Member Author

Thank you for the quick review!

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