Search found 1155 matches
- Sun Feb 17, 2019 9:10 pm
- Forum: General Discussion and Questions
- Topic: RuntimeError from PEP479 violation - need help
- Replies: 4
- Views: 3410
Re: RuntimeError from PEP479 violation - need help
Did you hear about http://sscce.org/ ?
- Wed Feb 06, 2019 8:06 pm
- Forum: Programs, Libraries and Tools
- Topic: micropython-lib - "distributed" uPython standard library
- Replies: 30
- Views: 222977
Re: micropython-lib - "distributed" uPython standard library
"argparse" module as was written by Damien was captured as "uargparse", before possibly adding more bloat to make "argparse" more compatible with CPython.
- Mon Feb 04, 2019 8:19 pm
- Forum: Programs, Libraries and Tools
- Topic: ANN: ufarc - state machine lib for uasyncio
- Replies: 4
- Views: 3945
Re: ANN: ufarc - state machine lib for uasyncio
I don't have much familiarity yet with micropython, but I am very familiar with embedded software and fitting Python into small spaces. So, that's why I tried to underline some of the points of MicroPython API above, with reasoning behind them. Nothing of that should come as a surprise to an embedd...
- Sun Feb 03, 2019 7:56 am
- Forum: Programs, Libraries and Tools
- Topic: ANN: ufarc - state machine lib for uasyncio
- Replies: 4
- Views: 3945
Re: ANN: ufarc - state machine lib for uasyncio
And in all fairness, I don't understand why you use asyncio/uasyncio there at all, given that you perform your own scheduling. It would seam they provide convenient abstraction for time accounting, but it's actually rather different in asyncio vs uasyncio. # Desktop debug: if not hasattr(_event_loop...
- Sun Feb 03, 2019 7:13 am
- Forum: Programs, Libraries and Tools
- Topic: namedtuple difference with CPython
- Replies: 5
- Views: 3922
Re: namedtuple difference with CPython
Oh, and welcome to MicroPython! Wouldn't ever think that a question like that would come from the PyMite author . To add or not to add? Of course not! We've got exceptions, that's where it stops (almost) .
- Sun Feb 03, 2019 7:07 am
- Forum: Programs, Libraries and Tools
- Topic: ANN: ufarc - state machine lib for uasyncio
- Replies: 4
- Views: 3945
Re: ANN: ufarc - state machine lib for uasyncio
Known Issue: Some examples fail due to File "/Users/dwhall/.micropython/lib/ufarc/__init__.py", line 513, in run_forever File "/Users/dwhall/.micropython/lib/ufarc/__init__.py", line 532, in stop File "uasyncio/core.py", line 183, in stop File "uasyncio/core.py", line 48, in call_soon IndexError: f...
- Sun Feb 03, 2019 6:52 am
- Forum: ESP8266 boards
- Topic: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
- Replies: 17
- Views: 13518
Re: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
Thanks @pfalcon! I did the update and it works ok now. I can see you have pushed quite a lot of commits today, thanks! My fork is rebased on top of mainline regularly (i.e. contains all that mainline contains), and that's how rebases look - a lot of metadata seems to be updated, but the content is ...
- Sun Feb 03, 2019 6:51 am
- Forum: Programs, Libraries and Tools
- Topic: picoweb - Web micro (well, pico) framework (with webserver, etc.)
- Replies: 25
- Views: 39689
Re: picoweb - Web micro (well, pico) framework (with webserver, etc.)
Recently, more full-fledged version of "logging" module was contributed to micropython-lib. The original small version was captured as "ulogging". As picoweb is intended to run on the smallest systems, it by default use ulogging now. Please update your dependencies. Turned out, this release of pico...
- Sat Feb 02, 2019 10:26 pm
- Forum: ESP8266 boards
- Topic: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
- Replies: 17
- Views: 13518
Re: Problem with uasyncio running picoweb - TypeError: function takes 2 positional arguments but 3 were given
File "uasyncio/__init__.py", line 60, in remove_writer TypeError: function takes 2 positional arguments but 3 were given MicroPython v1.10-188-gf1644bca9 on 2019-02-02; ESP module with ESP8266 Yes, that looks like a bug. Thanks for the report and detailed info, please run "git pull --rebase" and tr...
- Sat Feb 02, 2019 9:36 pm
- Forum: Programs, Libraries and Tools
- Topic: Pycopy, "Advanced MicroPython fork" by pfalcon
- Replies: 15
- Views: 18485
Re: Pycopy, "Advanced MicroPython fork" by pfalcon
Well, description and README at https://github.com/pfalcon/micropython provide the info how this fork is maintained - it's rebased on the mainline regularly. That means it has everything which 1.10 has, has further changes in the master branch after the release, and on top of that, has ~150 more cha...