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

py/runtime: Fix self arg passed to classmethod when accessed via super (micropython PR 15333) #9926

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Dec 29, 2024

This incorporates a MicroPython fix for a super() bug I encountered while working on CircuitMatter in CircuitPython. Normally we'd wait for the upstream merge, but this is a blocker for me.

See micropython#15533.

Thanks to @AJMansfield for the original test case.

Signed-off-by: Damien George <damien@micropython.org>
Copy link
Member

@jepler jepler left a comment

Choose a reason for hiding this comment

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

thank you for adding a test, makes it easy to say "if the tests pass, good to merge".

@dhalbert dhalbert merged commit 075feef into adafruit:main Dec 29, 2024
583 checks passed
@dhalbert dhalbert deleted the micropython-pr-15333 branch December 29, 2024 22:58
@dhalbert
Copy link
Collaborator Author

Damien wrote the test 😄 , which I appreciated. And it fixed my problem in CircuitMatter. Thanks for the quick review.

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.

3 participants