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

Clear __setattr__ if it was inherited && written by us #663

Merged
merged 1 commit into from Aug 13, 2020

Conversation

hynek
Copy link
Member

@hynek hynek commented Aug 4, 2020

Fixes #661

Since the frozen behavior was deliberate, the changes should only affect new on_setattr code.

This is the final PR before 20.1.0.

I hope we can ship 20.2.0 with import attrs, equality, and maybe better serialization soon after.

Signed-off-by: Hynek Schlawack <hs@ox.cx>
@hynek
Copy link
Member Author

hynek commented Aug 13, 2020

👯 nobody cares 👯

@hynek hynek merged commit 106c33c into master Aug 13, 2020
@hynek hynek deleted the restore-setattr branch August 13, 2020 11: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.

Restore __setattr__ when subclassing and we didn't write a new __setattr__
1 participant