Skip to content

Enabling MICROPY_PY_DELATTR_SETATTR for SAMD51 #1976

@arturo182

Description

@arturo182

Has anyone looked at the cost of enabling MICROPY_PY_DELATTR_SETATTR?

It's off by default, but it's on for the stm32 port, and I just found out it was off the hard way, by trying to debug why my code doesn't work for 2h :<

According to the commit enabling it in stm32, there's no performance hit in the classes that don't implement it, see 190c7db

The commit also mentions MICROPY_PY_BUILTINS_NOTIMPLEMENTED which is enabled in SAMD51 builds already.

If we could enable it for SAMD51, that would help me a lot 🙏

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions