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 setting class attributes on BTree subclasses. #169

Merged
merged 1 commit into from
May 27, 2021
Merged

Conversation

jamadden
Copy link
Member

This was broken by #166.

Fixes #168. Instead of directly raising the TypeError ourself for an unknown attribute, defer to PyType_Type.tp_setatro if we don't know the attribute.

This was a surprise breakage. I'd be grateful if anyone can review this quickly.

This was broken by #166.

Fixes #168. Instead of directly raising the TypeError ourself for an unknown attribute, defer to PyType_Type.tp_setatro if we don't know the attribute.
@jamadden jamadden requested a review from d-maurer May 27, 2021 17:26
@freddrake freddrake self-requested a review May 27, 2021 18:45
Copy link
Contributor

@freddrake freddrake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

@jamadden
Copy link
Member Author

Thank you @freddrake. I am grateful!

The appveyor failure was an unrelated error to resolve github.com.

@jamadden jamadden merged commit b03c2f2 into master May 27, 2021
@jamadden jamadden deleted the issue168 branch May 27, 2021 18:52
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.

Regression in 4.9: Subclasses can't use @adapter
2 participants