David Lechner
David Lechner
> I am hoping however that this could be a first step to help gather together all the settings that are in use, could be a parser to use once-off...
The CPython documentation says: > In text mode, if encoding is not specified the encoding used is platform-dependent: locale.getpreferredencoding(False) is called to get the current locale encoding. The MicroPython documentation...
> Example to validate This should be added to a test file so that it is run by CI.
> * upip will download compiled .mpy files rather than .py files It seems like we would need something like https://peps.python.org/pep-0427/#file-name-convention to avoid problems when breaking MPY ABI version changes...
I don't think restructured text allows nested styles. The easiest fix is probably just to remove the `*`s from the last line.
Unpacking args requires extra memory allocation behind the scenes, which can be undesirable in some cases (e.g. can lead to memory fragmentation).
It creates a tuple object.
It looks like you performed the test using Python, not MicroPython. CPython uses reference counting, so all of the implicit tuple and slice objects are most likely freed by the...
> and the other historical reasons for the "u" prefix aren't compelling either. A very compelling use case for me is that the "u" prefix allows us to use existing...
> How bad is it that the autocomplete just uses Python's full completion? You end up using modules/classes/methods/args that don't exist in MicroPython and your code fails at run time....