Paul Sokolovsky
8506e36466
urllib.urequest: PEP8 fix.
2016-04-16 21:30:54 +03:00
Paul Sokolovsky
99c7b546d1
socket: Release 0.5.1.
2016-04-16 21:24:42 +03:00
Christopher Arndt
21a3dab221
socket: Add sendto method to socket class
2016-04-16 21:21:33 +03:00
Paul Sokolovsky
ee49bab877
urllib.urequest: Support arbitrary HTTP methods on urlopen() level.
...
This is extension to CPython (CPython does this via Request class).
2016-03-14 09:49:16 +07:00
Paul Sokolovsky
44c5ed37f7
urequests: Add metadata.
2016-03-12 00:27:30 +07:00
Paul Sokolovsky
ae525eac87
urequests: Initial version of micro-requests.
...
The idea is to provide some subset of interface of Requests
(python-requests.org).
2016-03-07 14:34:03 +07:00
Paul Sokolovsky
dbe34bf34d
urllib.urequest: Release 0.2.
2016-03-02 22:55:30 +02:00
Paul Sokolovsky
9ca12f5ca2
urllib.urequest: Support POST method (when data param isn't None).
2016-03-02 22:54:46 +02:00
Paul Sokolovsky
c9b6eafcb7
os: Re-export stat() from uos module.
2016-02-28 14:14:30 +02:00
Paul Sokolovsky
0fef3f2f67
email.utils: Switch to CPython based version scheme.
2016-02-26 10:08:48 +02:00
Paulus Schoutsen
a479a5eb19
email.utils: fix urllib.parse dependency
2016-02-26 10:05:31 +02:00
Paul Sokolovsky
45070229f0
pystone_lowmem: Add metadata.
2016-02-15 12:17:22 +02:00
Paul Sokolovsky
6f10230648
pystone_lowmem: Use utime.ticks_ms() for better granularity.
...
utime.time() is integer (i.e. 1-second resolution) on many embedded ports.
2016-02-15 12:17:21 +02:00
Paul Sokolovsky
f6937ebb47
pystone_lowmem: Work arrays of size 25 instead of 51.
...
There're 2 arrays - one dimensional of 25 elements, and 2-dimensional
of 25x25 elements. Number of iterations stays the same, it's just
consecutive iterations may access the same array elements. So, while
the result of calculations may differ, the timing should stay about the
same (well, lowmem version will be a bit slower, as array index division
by 2 is used in several places).
2016-02-15 12:17:21 +02:00
Paul Sokolovsky
28de12557b
pystone_lowmem: Pystone version for small heap systems.
...
Start with exact copy of pystone.py from micropython-lib (which is pristine
upstream version, just importing from "utime" module instead of "time").
2016-02-15 12:17:21 +02:00
Paul Sokolovsky
f77f8cd1d4
string: Add test_translate.py
2016-02-03 00:24:36 +02:00
Paul Sokolovsky
b6c96e1d22
logging: Release 0.1.2.
2016-01-31 01:59:44 +02:00
Paul Sokolovsky
7a52c9c3ac
logging: Rename example per the latest conventions.
2016-01-31 01:58:56 +02:00
Paul Sokolovsky
fbbc3674b4
logging: basicConfig(): Implement "stream" argument.
2016-01-29 23:45:36 +02:00
Paul Sokolovsky
70e497bc73
socket: Release 0.5.
2016-01-28 18:55:27 +02:00
Paul Sokolovsky
ff7e55e633
socket: Support IPv6 addresses.
2016-01-28 18:54:30 +02:00
Paul Sokolovsky
b7ff1c0664
os: Add example_open.py.
2016-01-24 01:27:01 +02:00
Paul Sokolovsky
ad00b479eb
machine: Add example for Timer class.
2016-01-20 16:43:35 +02:00
Paul Sokolovsky
7fdacc3925
machine: Add Timer class implementation for Linux/Glibc.
...
This uses POSIX timers, but aspects of signal delivery from them is Glibc
specific.
2016-01-19 22:04:42 +02:00
Paul Sokolovsky
c607efe88a
logging: Remove outdated comment.
2016-01-17 00:38:11 +02:00
Paul Sokolovsky
8fda258464
socket: Release 0.4.
2016-01-11 15:05:46 +02:00
Paul Sokolovsky
13b56c262a
socket: accept(): Fully decode peer address using inet_ntop().
2016-01-11 15:05:25 +02:00
Paul Sokolovsky
f1533338ea
socket: Return partially decoded peer address from .accept().
...
Full decoding requires implementing socket.inet_ntop().
2016-01-11 02:40:38 +02:00
Paul Sokolovsky
6f7bed1c53
uasyncio: test_http_server_heavy.py: Comment out mem_info() call.
2016-01-11 00:07:43 +02:00
Paul Sokolovsky
86692631c1
uasyncio: Add missing Boom HTTP testing tool support script.
2016-01-10 23:39:40 +02:00
Paul Sokolovsky
4e34fe928a
os: Release 0.4.
2015-12-24 00:36:37 +02:00
Paul Sokolovsky
f815a2a9f0
os: Proactively filter all str/bytes variants of "."/"..".
2015-12-24 00:35:57 +02:00
Paul Sokolovsky
eb0981496a
os: makedirs(): Rewrite to rely only on uos.mkdir().
2015-12-22 00:23:43 +02:00
Paul Sokolovsky
69ab21b6fc
os: Use uos.ilistdir() if available.
2015-12-20 00:44:13 +02:00
Paul Sokolovsky
217bb5fd33
os: Work if "ffi" module is not available (provide wrappers for "uos").
2015-12-19 00:12:55 +02:00
Paul Sokolovsky
d7bdde8820
os: Implement kill().
2015-12-19 00:10:55 +02:00
Paul Sokolovsky
2b616b11e3
ffilib: Don't fail if "ffi" module not present, just return None.
2015-12-18 20:21:17 +02:00
Paul Sokolovsky
120b52c132
os: Use uctypes.bytes_at() instead of ffi module.
2015-12-17 00:56:05 +02:00
Paul Sokolovsky
db1b0ef816
os: Rely on uos.errno() to manipulate errno.
...
FFI implementation is pretty hacky and not portable/scalable. So, just
have hard requirement on uos.errno().
2015-12-16 19:31:28 +02:00
Paul Sokolovsky
76efae4aaa
os: Move constants definitions to the top.
2015-12-15 00:11:05 +02:00
Paul Sokolovsky
8884dbbee5
os: Refactor ilistdir() to be compatible with builtin uos.ilistdir().
2015-12-15 00:05:49 +02:00
Paul Sokolovsky
e9648dad01
uasyncio: Release 0.9.
2015-12-13 01:55:06 +02:00
Paul Sokolovsky
8a32b1b38b
uasyncio.core: Release 0.9.
2015-12-13 01:46:53 +02:00
Paul Sokolovsky
5e10ef8adf
uasyncio: Switch to builtin uselect.poll() object.
...
This is a big step towards supporting uasyncio on baremetal builds (and
on unix builds without FFI support).
2015-12-13 01:46:05 +02:00
Paul Sokolovsky
14e945f1a3
upip: Builtin module was renamed to "uos" (consistent with stmhal, etc.)
2015-12-12 00:17:42 +02:00
Paul Sokolovsky
7eb1fbdf35
os: Builtin module was renamed to "uos" (consistent with stmhal, etc.)
2015-12-12 00:16:37 +02:00
Paul Sokolovsky
c60ff8125b
uasyncio.core: Avoid wrapping coroutines to lambdas for add_reader/writer.
...
add_reader/writer default behavior is to schedule "callback" on I/O
completion via call_soon(), there's no need to have lambda for that.
2015-12-12 00:12:19 +02:00
Paul Sokolovsky
b4b19f1dce
uasyncio: Schedule simple I/O completion callbacks directly in event loop.
...
Simple == without args. This is expected action for them, and saves creation
of lambda just for that. Actually, probably all callbacks should be handled
this way.
2015-12-11 22:53:29 +02:00
Paul Sokolovsky
7cd53c8bf8
uasyncio: IORead/IOWrite syscalls don't return anything.
...
Their semantics is "wait for I/O of given type on object passed as argument",
so return value would be the same as argument, and thus no need to bother
to store/pass it around.
2015-12-10 00:29:10 +02:00
Paul Sokolovsky
10a14f051c
itertools: Release 0.2.1.
2015-12-10 00:06:01 +02:00