Skip to content

py/emitnative.c: Fix STORE_ATTR when value is not a pyobj. #8888

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

Closed
wants to merge 1 commit into from

Conversation

jimmo
Copy link
Member

@jimmo jimmo commented Jul 8, 2022

There was a missing call to MP_F_CONVERT_NATIVE_TO_OBJ.

Reported here: https://forum.micropython.org/viewtopic.php?f=21&t=12662

Related to #8086 (but doesn't fix that specific issue with the closure... will try and solve that one next!).

There was a missing call to MP_F_CONVERT_NATIVE_TO_OBJ.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
@jimmo jimmo force-pushed the viper-storeattr-notpyobj branch from 0732177 to dd9294d Compare July 8, 2022 14:16
@dpgeorge dpgeorge added the py-core Relates to py/ directory in source label Jul 12, 2022
@dpgeorge
Copy link
Member

Good fix, thanks! Also good to have a test. Rebased and merged in 9714a0e

@dpgeorge dpgeorge closed this Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
py-core Relates to py/ directory in source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants