KEMBAR78
Add runtime `__slots__` attribute to `attrs` by sobolevn · Pull Request #15651 · python/mypy · GitHub
Skip to content

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
@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