Search found 1145 matches

by pfalcon
Tue Apr 16, 2019 7:24 am
Forum: Programs, Libraries and Tools
Topic: Bytecode manipulation infrastructure for MicroPython - modules opcode, dis, mpylib
Replies: 4
Views: 436

Re: Bytecode manipulation infrastructure for MicroPython - modules opcode, dis, mpylib

Modules were updated for .mpy format version 4, at least in the part of "disassembling bytecode" part.
by pfalcon
Thu Mar 28, 2019 2:34 pm
Forum: Programs, Libraries and Tools
Topic: Pycopy, "Advanced MicroPython fork" by pfalcon
Replies: 14
Views: 1367

Re: Pycopy, "Advanced MicroPython fork" by pfalcon

Is there a place to download pre-compiled pycopy binaries for the esp32 like there is for micropython? I don't really care about the distro-war of micropython vs pycopy. No. I have to admit, I was thinking about this. But: MicroPython (including my fork) is an OpenSource project, giving its users t...
by pfalcon
Tue Mar 26, 2019 6:38 am
Forum: Programs, Libraries and Tools
Topic: uasyncio - asyncio-like cooperative multitasking framework for uPy
Replies: 106
Views: 42449

Re: uasyncio - asyncio-like cooperative multitasking framework for uPy

eltomek, for there to be any chance to do anything about this report, you would need to provide minimal reproduction testcase running on unix port of MicroPython. See http://sscce.org/ for basic info about such reproduction testcases.
by pfalcon
Tue Mar 26, 2019 6:28 am
Forum: Programs, Libraries and Tools
Topic: Bytecode manipulation infrastructure for MicroPython - modules opcode, dis, mpylib
Replies: 4
Views: 436

Re: Bytecode manipulation infrastructure for MicroPython - modules opcode, dis, mpylib

Work is under way to update these modules to .mpy format version 4, as recently pushed to MicroPython master.
by pfalcon
Mon Mar 25, 2019 11:02 pm
Forum: General Discussion and Questions
Topic: Target audience for MicroPython?
Replies: 51
Views: 1392

Re: Target audience for MicroPython?

Would you say it would be good if MicroPython at the same time could be be more 'open' towards python developers without C? Or should that type of developers simply accept that MicroPython is not really for them, so it is better to leave MicroPython and join the CircuitPython community for example?...
by pfalcon
Sun Mar 24, 2019 9:48 pm
Forum: General Discussion and Questions
Topic: Target audience for MicroPython?
Replies: 51
Views: 1392

Re: Target audience for MicroPython?

This response takes me a bit by surprise. I'm sure there is more to it than this. I was under the impression that the name 'Micro' actually pointed to micro controllers, No, who would want to waste their life on just microcontrollers? Besides, such projects already exist, e.g. PyMite, OwlPython, et...
by pfalcon
Sun Mar 24, 2019 7:52 pm
Forum: General Discussion and Questions
Topic: Target audience for MicroPython?
Replies: 51
Views: 1392

Re: Target audience for MicroPython?

MicroPython by itself has nothing to do with microcontrollers. MicroPython is a minimalist programming language implementing subset of Python. It can be used for absolutely anything, be it microcontrollers, supercomputers, hadron colliders or spaceships wondering thru the galaxies - it's all up to i...
by pfalcon
Sun Mar 24, 2019 7:17 pm
Forum: General Discussion and Questions
Topic: merge variables from one module into another
Replies: 5
Views: 146

Re: merge variables from one module into another

https://github.com/micropython/micropyt ... ples/hwapi has suggestions and examples available on these matters for quite some time.
by pfalcon
Sun Mar 24, 2019 5:06 pm
Forum: Development of MicroPython
Topic: Using Pointer to State in NLR Assembly
Replies: 9
Views: 268

Re: Using Pointer to State in NLR Assembly

Sorry, but there's no need for such a patch (on its own). Thanks - your parenthetical is pretty enticing. What else would you want to see along with such a patch? Well, your goal appears to be to implement multiple interpreter instances, so if changes for MP_STATE_THREAD() will be included in a pro...
by pfalcon
Wed Mar 20, 2019 7:58 am
Forum: Development of MicroPython
Topic: Using Pointer to State in NLR Assembly
Replies: 9
Views: 268

Re: Using Pointer to State in NLR Assembly

I'd like to submit a PR soon for changing the MP_STATE_XXX(x) macros so that they access the current state through a pointer. Sorry, but there's no need for such a patch (on its own). The whole idea of these macros is that they can be redefined as needed by interested parties. However, the default ...