Andrew Leech

Results 572 comments of Andrew Leech

It would help to find out if any of the official thread unit tests fail in the same way, that might help narrow down exactly where the problem comes from....

I had it run for 10h I think and there was 1 failure, but it didn't actually have any additional logging showing anything helpful. I tried to set up something...

No I didn't even get that much detail from the unit test, it just reported that it crashed.

`const` is really only provided as a compiler hint for optimisation, it doesn't make promises of global immutability. https://docs.micropython.org/en/latest/library/micropython.html#micropython.const If you'd like to write some more explicit notes in the...

> The function `micropython.const` is ignored if the program is not compiled with `mpy-cross`? No it's also handled by the compiler on-device / in micropython itself when running a `.py`...

@peterhinch my reading is this means it wouldn't just be an immutable int like immutable string - it's also the variable name that's requested to be immutable. Aka disable setattr...

This does look useful, and the changes look good to me. The docs might want to mention it's only available if enabled at compile time, and perhaps it could be...

I'm not sure, I haven't tried the traceback module from here it might be out of date. Take a look at this, it might be what you want: https://docs.micropython.org/en/latest/library/sys.html#sys.print_exception

I ran into this same issue today when trying to enable `LV_USE_VECTOR_GRAPHIC` in `lv_conf.h`. The python bindings generator doesn't currently support multi-dim arrays at all. I started trying to add...

The esp8266 is very limited on resources, it appears to have some features disabled that mip depends on. The more important issue though is the esp8266 doesn't have hardware support...