David Lechner
David Lechner
Only annotations are compiled out (that is `: SomeType` and `-> SomeType`). And we don't include a `typing` module in Pybricks because of the limited space on hubs. For dicts,...
I would expect that error if you wrote `my_tuple = tuple[int, int](1, 2)`, but if it was just an annotation, I would expect it to be ok, like `my_tuple: tuple[int,...
I would just stick with `AppData()` and see how far we get. Also, not a fan of more modules, we already have way too many (kind of necessary for organization...
I think we disabled that because there are some places where `-Wmaybe-uninitialized` triggers some false positives, but we should be able to disable it on a per-file basis instead of...
As far as I know, Bluetfly doesn't completely implement the WebBluetooth standards, so they would need to fix their browser. There isn't much we can do about it. If you...
MicroPython is not Python. There is no `locals()` dict in MicroPython and the local values just aren't accessible. See https://docs.micropython.org/en/latest/genrst/core_language.html#local-variables-aren-t-included-in-locals-result
> This prints locals without `lx` Those look like globals to me. `lx` is the only local in that scope. > I would suggest updating pybricks documentation for `locals()` Yes,...