Search found 1155 matches

by pfalcon
Sat Feb 02, 2019 8:34 am
Forum: Programs, Libraries and Tools
Topic: Pycopy, "Advanced MicroPython fork" by pfalcon
Replies: 15
Views: 18373

Re: Pycopy, "Advanced MicroPython fork" by pfalcon

Pycopy now has a fix for long-standing issue with the uasyncio framework, more details in viewtopic.php?f=15&t=85&p=33767#p33767
by pfalcon
Sat Feb 02, 2019 8:33 am
Forum: Programs, Libraries and Tools
Topic: uasyncio - asyncio-like cooperative multitasking framework for uPy
Replies: 114
Views: 134440

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

A major evolutionary step for uasyncio - a long-standing bug with cancellation of uasyncio.sleep() call was fixed. That bug didn't allow to write reliable networking applications (with timeouts, etc.), and rendered uasyncio practically useless for applications outside its initial domain (which was a...
by pfalcon
Sat Feb 02, 2019 7:57 am
Forum: General Discussion and Questions
Topic: Micropython for UEFI Shell
Replies: 1
Views: 2891

Re: Micropython for UEFI Shell

Good news. Previously, they ported CPython to it, and of course, MicroPython is a much better choice.
by pfalcon
Fri Feb 01, 2019 8:51 am
Forum: Programs, Libraries and Tools
Topic: Compression for uzlib
Replies: 3
Views: 4065

Re: Compression for uzlib

I'm wondering why uzlib module doesn't support compression?
Obvious reason would be that nobody did that?

And doing that properly would require elaborating the API of the underlying C library (also called uzlib).
by pfalcon
Mon Jan 28, 2019 12:49 pm
Forum: Programs, Libraries and Tools
Topic: namedtuple difference with CPython
Replies: 5
Views: 3885

Re: namedtuple difference with CPython

3) leave it as-is to preserve MP code size and RAM consumption. Request the users find a workaround. Please leave it be. And not just namedtuple, but other parts of Micro Python as micro too. If you need CPython bloat, please use CPython. If you can't use CPython, please appreciate minimality and e...
by pfalcon
Fri Jan 25, 2019 10:26 pm
Forum: Programs, Libraries and Tools
Topic: "venv" module for micropython-lib
Replies: 0
Views: 3185

"venv" module for micropython-lib

Creating standalone independent environments with MicroPython is very easy, because MICROPYPATH environment variable fully overrides module search path (unlike CPython, where it just augments builtin paths). So, you just need to set it, and voila! But for consistency of workflow with CPythoin I've j...
by pfalcon
Tue Jan 22, 2019 11:27 pm
Forum: Programs, Libraries and Tools
Topic: Pycopy, "Advanced MicroPython fork" by pfalcon
Replies: 15
Views: 18373

Re: Pycopy, "Advanced MicroPython fork" by pfalcon

As some stats, as of now Pycopy is 138 commits ahead of MicroPython upstream. The latest change made: fix for overbloated allocation of interned strings in chr(), as reported in https://github.com/micropython/micropython/issues/4422
by pfalcon
Tue Jan 22, 2019 11:23 pm
Forum: General Discussion and Questions
Topic: ANN: micropython-dev - MicroPython variant for development/research (unix port)
Replies: 2
Views: 3324

Re: ANN: micropython-dev - MicroPython variant for development/research (unix port)

Another example of a feature implemented in micropython-dev: ability to override __import__() builtin, i.e. module import mechanism. This allows for great extensibility of language environment. For example, it's possible to implement automatic precompilation of .py files into bytecode files, .mpy. I...