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

Fix attribute collection #635

Merged
merged 12 commits into from
Apr 6, 2020
Merged

Fix attribute collection #635

merged 12 commits into from
Apr 6, 2020

Conversation

hynek
Copy link
Member

@hynek hynek commented Mar 30, 2020

This fixes #428 and has pestered me for a long while.

I'm not entirely sure how to go forward with the option, I guess I'll just set it to True in @attrs.define?

Anyhow, I this is the penultimate ticket stopping me from tackling the new APIs…

Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
src/attr/_make.py Outdated Show resolved Hide resolved
hynek and others added 4 commits March 30, 2020 14:12
Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
@hynek hynek merged commit 33b6131 into master Apr 6, 2020
@hynek hynek deleted the fix-mro branch April 6, 2020 09:42
@jacobg
Copy link

jacobg commented Aug 18, 2020

This commit doesn't seem to work with slots. See related issue: #667

@hynek
Copy link
Member Author

hynek commented Aug 18, 2020

This commit is unrelated to #667.

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.

MRO vs. inherited attributes
4 participants