Jim Mussared

Results 211 comments of Jim Mussared

> @jimmo Might be a stupid question but how feasible/practical would it be to use a socket instead of sys.stdin/sys.stdout? Could this be used remotely over a network? @ThinkTransit `aiorepl`...

> @jimmo do you want to update this now that core supports `__dict__`? Done. I've pushed an update that improves handling of Ctrl-C and Ctrl-D (based on conversation with @peterhinch)....

> So I got ambitious and ran this script at the --> prompt: Does this mean that there's two instances of `asyncio.run()` running?

Merged in [7602843](https://github.com/micropython/micropython-lib/commit/7602843209ee4a23a7375dc483f58f8e1cce6ef0)

Just FYI, do not use sleep_us for long sleeps as it is a spin sleep on most ports (i.e. uses lots of power). It's designed for only very short intervals...

@uraich sorry you're a step ahead of me. I was going to send a PR to ulab tomorrow to fix this. Did you see the build troubleshooting error that now...

Raised https://github.com/v923z/micropython-ulab/issues/548 with more info.

> Why not have two partitions in flash, one that is writable by PC but only readable by MP (so this partition will hold .py code, configuration etc.), and another...

Rebased. Current performance diff on PYBV11 is ``` N=100 M=100 /home/jimmo/obj-type-v2-rebase-pybv11-baseline -> /home/jimmo/obj-type-v2-rebase-pybv11-def0 diff diff% (error%) bm_chaos.py 350.72 -> 346.16 : -4.56 = -1.300% (+/-0.00%) bm_fannkuch.py 76.62 -> 74.92 :...

OK I think this is finally ready. Because this will be a breaking change for people with custom types (e.g. user c modules), I thought that #9302 might be a...