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

attrs: define defaults to slots=True #15642

Merged

Conversation

ikonst
Copy link
Contributor

@ikonst ikonst commented Jul 12, 2023

Fixes #15639.

The new-style API attrs.define enables slots by default.

@github-actions
Copy link
Contributor

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

@JelleZijlstra JelleZijlstra merged commit 4d394c1 into python:master Jul 12, 2023
@ikonst ikonst deleted the 07-11-attrs_define_defaults_to_slots_True branch July 12, 2023 15:49
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.

Better support for default arguments to new-style attrs API
2 participants