Search found 1155 matches
- Sat Feb 02, 2019 8:34 am
- Forum: Programs, Libraries and Tools
- Topic: Pycopy, "Advanced MicroPython fork" by pfalcon
- Replies: 15
- Views: 18670
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
- Sat Feb 02, 2019 8:33 am
- Forum: Programs, Libraries and Tools
- Topic: uasyncio - asyncio-like cooperative multitasking framework for uPy
- Replies: 114
- Views: 136949
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...
- Sat Feb 02, 2019 7:57 am
- Forum: General Discussion and Questions
- Topic: Micropython for UEFI Shell
- Replies: 1
- Views: 2914
Re: Micropython for UEFI Shell
Good news. Previously, they ported CPython to it, and of course, MicroPython is a much better choice.
- Fri Feb 01, 2019 8:51 am
- Forum: Programs, Libraries and Tools
- Topic: Compression for uzlib
- Replies: 3
- Views: 4131
Re: Compression for uzlib
Obvious reason would be that nobody did that?I'm wondering why uzlib module doesn't support compression?
And doing that properly would require elaborating the API of the underlying C library (also called uzlib).
- Mon Jan 28, 2019 12:49 pm
- Forum: Programs, Libraries and Tools
- Topic: namedtuple difference with CPython
- Replies: 5
- Views: 3942
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...
- Fri Jan 25, 2019 10:27 pm
- Forum: Programs, Libraries and Tools
- Topic: micropython-lib - "distributed" uPython standard library
- Replies: 30
- Views: 230620
Re: micropython-lib - "distributed" uPython standard library
Finally coded up "venv" module: viewtopic.php?f=15&t=5869
- Fri Jan 25, 2019 10:26 pm
- Forum: Programs, Libraries and Tools
- Topic: "venv" module for micropython-lib
- Replies: 0
- Views: 3225
"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...
- Tue Jan 22, 2019 11:27 pm
- Forum: Programs, Libraries and Tools
- Topic: Pycopy, "Advanced MicroPython fork" by pfalcon
- Replies: 15
- Views: 18670
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
- 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: 3351
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...
- Mon Jan 14, 2019 8:01 pm
- Forum: Development of MicroPython
- Topic: Subclassing native classes
- Replies: 3
- Views: 4461
Re: Subclassing native classes
Many answers can be found at https://en.wikipedia.org/wiki/Compositi ... nheritance