summaryrefslogtreecommitdiff
path: root/py/lexer.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-06-23 13:01:33 +1000
committerDamien George <damien@micropython.org>2025-07-08 11:15:11 +1000
commit07285323cf68435db86b3e736a714a487464dceb (patch)
tree2a90cefdd7459fe07376b47b7a1127ab2313ae1c /py/lexer.h
parent16b00cd6e78d9afc9f5c3930939fdae0d60dfb78 (diff)
zephyr/mpconfigport: Enable import of mpy and a few related features.
Support for importing .mpy files is quite fundamental to MicroPython these days, eg it allows installing more efficient .mpy code via "mip install" (and installing `unittest` only works with the .mpy version because the .py version uses f-strings, which are not enabled on the zephyr port). So enable it generally for use by all boards. As part of this, also enable: - min/max: needed by `micropython/import_mpy_invalid.py`, and widely used - sys.modules: needed by `run-tests.py` to run .mpy tests with --via-mpy - io module: needed to run .mpy tests, and useful for `io.IOBase` - array slice assign: needed to run .mpy tests, and generally useful as a way to do a memory copy. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/lexer.h')
0 files changed, 0 insertions, 0 deletions