Having a micropython.const identity function, and writing "from micropython import const" at the start of scripts that use the const feature, allows to write scripts which are compatible with CPython, and with uPy builds that don't include const optimisation. This patch adds such a function and updates the tests to do the import.crypto-aes
parent
f65e4f0b8f
commit
791b65f4b2
Loading…
Reference in new issue