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 subclassing dict #8828

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Fix subclassing dict #8828

merged 1 commit into from
Jan 24, 2024

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Jan 23, 2024

The get, set and del item methods didn't correctly lookup the value from the parent native instance because the functions took the type from the instance.

Fixes #8758

The get, set and del item methods didn't correctly lookup the value
from the parent native instance because the functions took the type
from the instance.

Fixes micropython#8758
@tannewt tannewt added this to the 9.0.0 milestone Jan 23, 2024
@tannewt tannewt requested a review from dhalbert January 23, 2024 23:43
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Thanks for the pair debugging!

Tested on Metro M0.

@dhalbert dhalbert merged commit 58d84ab into adafruit:main Jan 24, 2024
480 checks passed
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.

super() does not work in an overloaded __setitem__ method
2 participants