Paul Sokolovsky
aba6935892
uasyncio: Release 1.1.1.
2017-02-16 00:04:39 +03:00
Paul Sokolovsky
853535802f
uasyncio.core: Release 1.1.1.
2017-02-15 23:49:39 +03:00
Paul Sokolovsky
67445f3334
uasyncio: benchmark: Rename test runners to correspond to underlying tests.
2017-02-15 11:19:10 +03:00
Paul Sokolovsky
6a4973331a
uasyncio: benchmark: Set higher queue length for "medium" test.
...
Following setting the default conservatively low in the module.
Surprisingly, heavy test appears to work with new default length
of 42.
2017-02-15 11:17:02 +03:00
Paul Sokolovsky
e3dac1d693
uasyncio: Allow to override queue length, while setting low default.
...
The default queue length is set to take under 0.5K RAM on 32-bit system.
A queue length can be passed to get_event_loop() to override it. This
change follows similar change in uasyncio.core.
2017-02-15 11:14:53 +03:00
Paul Sokolovsky
55b4161512
uasyncio.core: Set lower default queue len and allow to override it.
...
The default is set to be under 0.5K on 32-bit system. A queue length
can be passed to get_event_loop() to override it.
2017-02-15 03:27:59 +03:00
Paul Sokolovsky
12da3a81a6
copy: Use standard metadata, release is 3.3.3-2.
2017-02-08 01:23:00 +03:00
Paul Sokolovsky
d59af2da7b
upip: Release 1.1.5.
2017-02-08 01:15:58 +03:00
Paul Sokolovsky
1f91189e04
upip: Be sure to close socket if we abort with error early.
...
Need to close properly in more places.
2017-02-08 01:14:56 +03:00
Paul Sokolovsky
a86e7cf5a7
upip: Report host name resolve error in user friendly manner.
2017-02-08 01:12:45 +03:00
Paul Sokolovsky
068988085e
upip: Report package not found and similar errors with less noise.
...
While still allow to get full backtrace with --debug.
2017-02-08 00:39:47 +03:00
Paul Sokolovsky
f6668aae28
uasyncio: Release 1.1.
2017-01-28 01:58:05 +03:00
Paul Sokolovsky
1bf1c74ae5
uasyncio: Use builtin uerrno module.
2017-01-28 01:55:40 +03:00
Paul Sokolovsky
7043ee0702
uasyncio: Implement StreamReader.readexactly().
...
With a unit test.
2017-01-28 01:04:21 +03:00
Paul Sokolovsky
ec7b4b948b
uasyncio: StreamReader.readline: Handle partial reads.
...
Now it will return a complete line regardless if it may take several
partial reads to do that. Test included.
2017-01-27 01:09:19 +03:00
Paul Sokolovsky
a8d85e28d0
uasyncio: Fix partial reads in StreamReader.read/readline() methods.
...
If None (no data, would block) is received, need to wait for more data,
not just read it again immediately.
2017-01-26 22:20:29 +03:00
Paul Sokolovsky
f5fdebed34
collections.defaultdict: Release 0.3.
2017-01-26 01:35:10 +03:00
Paul Sokolovsky
69b65efd7e
collections.defaultdict: Implement __contains__.
...
Otherwise, "in" operation uses list protocol (enumeration using
__getitem__, which adds a key/value pair to teh underlying dict)
and ends with memory overflow.
2017-01-26 01:26:40 +03:00
Paul Sokolovsky
56dd0f94e9
uasyncio: Rename examples as such.
2017-01-04 18:01:05 +03:00
Paul Sokolovsky
3e37bdda56
uasyncio: Move test_call_soon.py to uasyncio.core, as it needs only it.
...
Also, rename as example.
2017-01-04 18:01:05 +03:00
Daniel Mizyrycki
4bc5ab902b
uasyncio: Add echo test
2017-01-01 19:06:54 -08:00
Daniel Mizyrycki
0f5d5cead7
uasyncio: Add minimum esp8266 support
2017-01-01 18:17:17 -08:00
Paul Sokolovsky
6256ad69c0
uasyncio: Release 1.0.1.
2016-12-30 22:32:26 +03:00
Paul Sokolovsky
f7c5fe1aea
uasyncio.core: Release 1.1.
2016-12-30 22:29:19 +03:00
Paul Sokolovsky
5403e0f710
uasyncio: Use DEBUG variable as imported from uasyncio.core.
...
Avoids heap allocation to render disabled debug logging strings.
2016-12-29 11:37:41 +03:00
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