- 20 Aug, 2017 4 commits
-
-
Paul Sokolovsky authored
State that this doc describes generic, "core" MicroPython functionality, any particular port may diverge in both directions, by both omitting some functionality, and adding more, both cases described outside the generic documentation.
-
Paul Sokolovsky authored
Describe that the only portable way to deal with addresses is by using getaddrinfo(). Describe that some ports may support tuple addresses using "socket" module (vs "usocket" of native MicroPython).
-
Paul Sokolovsky authored
It's too minor a point to start the module description with it.
-
Paul Sokolovsky authored
Calls out to Zephyr's shell, submodule "net", command "iface", and shows network interface information (if CONFIG_NET_SHELL is enabled).
-
- 19 Aug, 2017 2 commits
-
-
Paul Sokolovsky authored
The original issue leading to crash on startup if no default network interface was presented, was resolved some time ago. Note that this enables generic networking subsystem, not networking on Carbon.
-
Paul Sokolovsky authored
Was changed to "sa_family" for POSIX compatibility.
-
- 17 Aug, 2017 3 commits
-
-
Alex Robbins authored
This clarifies return values and the handling of invalid (e.g. newline) characters. Encoding conforms to RFC 3548, but decoding does not, as it ignores invalid characters in base64 input. Instead, it conforms to MIME handling of base64 (RFC 2045). Note that CPython doesn't document handling of invalid characters in a2b_base64() docs: https://docs.python.org/3/library/binascii.html#binascii.a2b_base64 , so we specify it more explicitly than it, based on CPython's actual behavior (with which MicroPython now compliant).
-
Alex Robbins authored
This implementation ignores invalid characters in the input. This allows it to decode the output of b2a_base64, and also mimics the behavior of CPython.
-
Damien George authored
The value of 0 can't be used because otherwise mp_binary_get_size will let a null byte through as the type code (intepreted as byterray). This can lead to invalid type-specifier strings being let through without an error in the struct module, and even buffer overruns.
-
- 16 Aug, 2017 4 commits
-
-
stijn authored
This makes the -d commandline argument usable again. Pass empty string as parent name as listing starts from the root.
-
Paul Sokolovsky authored
As required for zephyr.stack_analyze().
-
Paul Sokolovsky authored
current_tid() returns current thread ID. stacks_analyze() calls k_call_stacks_analyze() which, with CONFIG_INIT_STACKS enabled, will print stack usage for some well-known threads in the system.
-
Eric Poulsen authored
Behaviour is as per CPython but only the binary form is implemented here. A test is included.
-
- 15 Aug, 2017 2 commits
-
-
Stefan Naumann authored
It enables all the DEBUG_printf outputs in the py/ source code.
-
Bas van Sisseren authored
Without bugfix: struct.pack('>Q', 16) b'\x00\x00\x00\x10\x00\x00\x00\x00' With bugfix: struct.pack('>Q', 16) b'\x00\x00\x00\x00\x00\x00\x00\x10'
-
- 14 Aug, 2017 1 commit
-
-
Javier Candeira authored
-
- 13 Aug, 2017 1 commit
-
-
Javier Candeira authored
- Changed: ValueError, TypeError, NotImplementedError - OSError invocations unchanged, because the corresponding utility function takes ints, not strings like the long form invocation. - OverflowError, IndexError and RuntimeError etc. not changed for now until we decide whether to add new utility functions.
-
- 12 Aug, 2017 1 commit
-
-
Damien George authored
-
- 11 Aug, 2017 3 commits
-
-
Paul Sokolovsky authored
Implemented as a new MP_UNARY_OP. This patch adds support lists, dicts and instances.
-
Damien George authored
$(TOP) is defined in py/mkenv.mk and should be used to refer to the top level of this repository.
-
Damien George authored
-
- 09 Aug, 2017 5 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
The main case to catch is invalid types for the containment operator, of the form str.__contains__(non-str).
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 08 Aug, 2017 1 commit
-
-
Paul Sokolovsky authored
-
- 07 Aug, 2017 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Accesses recv_q, accept_q directly in net_context.
-
- 06 Aug, 2017 1 commit
-
-
Paul Sokolovsky authored
This works for Unix and similar ports so far.
-
- 02 Aug, 2017 2 commits
-
-
Paul Sokolovsky authored
For some reason, with the latest Zephyr master, running just "make" led to executing Zephyr's "qemu" target.
-
Damien George authored
"STATIC inline" can expand to "inline" if STATIC is defined to nothing, and this case can lead to link errors.
-
- 31 Jul, 2017 4 commits
-
-
Paul Sokolovsky authored
Allows to join multicast groups.
-
Alexander Steffen authored
There were several different spellings of MicroPython present in comments, when there should be only one.
-
Damien George authored
-
Damien George authored
-
- 30 Jul, 2017 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
WiFi mode selection happens on the level of individual interfaces.
-
Paul Sokolovsky authored
-
- 29 Jul, 2017 1 commit
-
-
Paul Sokolovsky authored
-