Paul Sokolovsky
f29be360c0
uasyncio: wait: Add workaround against heap alloc on empty iteration.
...
"for a in ():" unconditionally allocates heap so far, per
https://github.com/micropython/micropython/issues/2716 . So, test for
empty result before iterating over it.
2016-12-28 10:25:31 +03:00
Paul Sokolovsky
9d5919dd1c
uasyncio.core: Implement sleep_ms as an awaitable object instead of coro.
...
This allows to await it without heap allocation.
2016-12-26 19:51:11 +03:00
Paul Sokolovsky
793bc05be5
uasyncio.core: Report unknown syscalls.
2016-12-26 19:11:38 +03:00
Paul Sokolovsky
24125191ce
uasyncio.core: Convert Sleep syscall arg (seconds) to milliseconds.
2016-12-23 00:35:42 +03:00
Paul Sokolovsky
222758f0c2
uasyncio.core: Switch to dedicated utimeq class.
...
Allows zero-allocation scheduling of tasks. As long as tasks don't use
await/yield from with coroutines, and don't allocate memory themselves,
there will be no allocation and GC.
2016-12-22 13:04:09 +03:00
Paul Sokolovsky
845f8ebde0
os: Release 0.5.
2016-12-21 00:12:25 +03:00
Paul Sokolovsky
d47419bb73
os: Implement popen().
2016-12-21 00:11:23 +03:00
Paul Sokolovsky
92d32a6cd8
re-pcre: Release 0.2.4.
2016-12-19 23:07:34 +03:00
Paul Sokolovsky
7ccd2d87ed
re-pcre: Actually fix compatibility with big-endian systems.
...
"big" argument to b"".from_bytes(..., "big") isn't really supported by
MicroPython, so use array as a buffer.
2016-12-19 23:05:38 +03:00
Paul Sokolovsky
6e0f020fcd
umqtt.simple: Release 1.3.2.
2016-12-19 22:59:52 +03:00
Paul Sokolovsky
de9fcc53d5
umqtt.simple: Update for to_bytes() parameters refactor.
2016-12-19 22:57:43 +03:00
Paul Sokolovsky
050c6cdb75
README: More info about naming and links to PyPI search results.
...
Also, typo fixes.
2016-12-11 15:35:10 +03:00
Paul Sokolovsky
88c9eae5e1
README: Update to the current state of affairs (pip-micropython -> upip, etc.)
2016-12-10 18:12:35 +03:00
Paul Sokolovsky
fceed2b1bb
README: Remove "highly experimental" status.
2016-12-10 18:00:39 +03:00
Paul Sokolovsky
a968dd7856
urequests: Release 0.4.2.
2016-12-10 17:57:55 +03:00
Paul Sokolovsky
f0b8d9b7ca
urequests: Fix stale variable name (line -> l).
2016-12-10 17:56:44 +03:00
Paul Sokolovsky
0552589f9f
uasyncio.queues: Release 0.1.2.
2016-12-08 14:45:55 +03:00
Paul Sokolovsky
614f5e61e9
uasyncio.queues: Fix queue full condition check in put().
2016-12-08 14:44:59 +03:00
Paul Sokolovsky
1abe4fc8ed
re-pcre: Release 0.2.3.
2016-12-08 14:36:35 +03:00
Paul Sokolovsky
444004be32
re-pcre: Fix compatibility with big-endian systems.
2016-12-08 14:35:48 +03:00
Paul Sokolovsky
abddcd7893
urllib.urequest: Release 0.4.3.
2016-12-08 14:31:59 +03:00
Paul Sokolovsky
cf591cf2c6
urllib.urequest: Fix stale variable name (line -> l).
2016-12-08 14:31:25 +03:00
Tobias Ammann
94be568a03
functools: Make partial wrapper pass on return value.
2016-11-15 19:24:05 +01:00
Paul Sokolovsky
23ff6305c3
uasyncio: Release 1.0.
2016-11-13 15:18:30 +03:00
Paul Sokolovsky
2e5c021515
uasyncio.core: Release 1.0.
2016-11-13 15:17:18 +03:00
Paul Sokolovsky
f24493b1eb
uasyncio.core: create_task: Fix scheduling.
...
Should start with zero delay, not at zero absolute time.
2016-11-13 15:01:51 +03:00
Paul Sokolovsky
b3c2d0f51e
uasyncio.core: Add additional debug output control.
...
__debug__ isn't flexible enough, if you don't disable it, there's huge
memory allocation.
2016-11-13 14:59:49 +03:00
Paul Sokolovsky
02a6625a00
uasyncio.core: Introduce "trailing _" functions which avoid arg un/packing.
...
They just take tuple of arguments instead of *args. In most cases, that
will be () singleton.
2016-11-13 14:59:49 +03:00
Paul Sokolovsky
67d8e55dea
uasyncio: Update for switching to utime.ticks_ms() timesource.
2016-11-13 04:39:52 +03:00
Paul Sokolovsky
f5ae66973d
uasyncio.core: Remove heapq aggregate structure workaround.
2016-11-13 01:44:35 +03:00
Paul Sokolovsky
d9e72f1d40
uasyncio.core: Switch to ticks_ms() as timing source.
...
This makes uasyncio.core compatible with baremetal/embedded ports.
Includes switching to "uheapq timeq" for task queue.
2016-11-13 01:32:32 +03:00
Paul Sokolovsky
f81e979c56
machine: Release 0.2.1.
2016-11-11 00:18:05 +03:00
Paul Sokolovsky
44b29172ec
machine: Be sure to import things from builtin umachine.
2016-11-11 00:16:58 +03:00
Paul Sokolovsky
9992d14ef8
machine: machine.Pin: Add pin reading support.
...
Also, optimize to use binary file mode.
2016-11-11 00:09:43 +03:00
Paul Sokolovsky
294d69693b
machine: Release 0.2.
2016-11-09 22:38:58 +00:00
Paul Sokolovsky
7ac2cf662e
machine: Add Pin class implementation for Linux.
...
Tested only for output so far.
2016-11-09 22:38:07 +00:00
Paul Sokolovsky
6ec58b6d97
pystone_lowmem: Release 3.4.2-4.
2016-11-08 01:53:53 +03:00
Paul Sokolovsky
fb47cd8bc5
pystone_lowmem: Update for new signature of ticks_diff() (args swapped).
2016-11-08 01:52:59 +03:00
Paul Sokolovsky
4534075c37
umqtt.simple: Release 1.3.
2016-10-30 15:08:15 +03:00
Paul Sokolovsky
b86a671f92
upip: Release 1.1.4.
2016-10-22 21:09:37 +03:00
Paul Sokolovsky
7e9eed98cb
upip: Fix handling of non-existing absolute install paths.
...
The latest refactor of _makedirs() had a buf preventing to create them
properly.
2016-10-22 21:07:56 +03:00
Paul Sokolovsky
d5d2395f0f
curses: Add dummy module.
2016-10-21 00:08:08 +03:00
Paul Sokolovsky
42452a737e
asyncio: Add dummy module.
2016-10-21 00:06:03 +03:00
Paul Sokolovsky
9146ebe9a7
upip: Release 1.1.3.
2016-10-12 18:15:29 +03:00
Paul Sokolovsky
2c83920f36
upip: Fix heap size to use for decreased gzip dictionary.
...
Original intended value is 64K of heap or smaller, 640K figure was a
testing one.
2016-10-12 18:14:07 +03:00
Paul Sokolovsky
dfe4dee62a
all: setup.py: New releases for gzip 4k conversion.
2016-10-11 06:47:01 +03:00
Paul Sokolovsky
65fb3707ba
all: metadata.txt: Bump version for gzip 4k conversion.
2016-10-11 06:46:12 +03:00
Paul Sokolovsky
b2ab9141c0
_markupbase: Release 3.3.3-1, gzip 4k.
2016-10-11 00:50:22 +03:00
Paul Sokolovsky
e0a110efd8
_libc: Release 0.3.1, gzip 4k.
2016-10-11 00:43:05 +03:00
Paul Sokolovsky
12c046dc60
__future__: Release 0.0.3, gzip 4k.
2016-10-11 00:35:40 +03:00