- 15 Jun, 2017 3 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 14 Jun, 2017 5 commits
-
-
Damien George authored
In CPython 3.4 this raises a SyntaxError. In CPython 3.5+ having a positional after * is allowed but uPy has the wrong semantics and passes the arguments in the incorrect order. To prevent incorrect use of a function going unnoticed it is important to raise the SyntaxError in uPy, until the behaviour is fixed to follow CPython 3.5+.
-
Damien George authored
Following how extmod/modlwip.c does it.
-
Damien George authored
These implementations are incorrect (eg f2d and d2f don't handle special values like 0.0) and proper versions can be provided by libgcc (or equivalent depending on the toolchain). libgcc is now linked with the stmhal port so that library will provide these functions from now on.
-
Damien George authored
The default for the GIL is to enable it if threading is enabled, and this is the recommended way to use threading with the stmhal port.
-
Damien George authored
-
- 13 Jun, 2017 5 commits
-
-
Paul Sokolovsky authored
The latest fashion is pushing certificate sub-chains, instead of a single certificate, during TLS handshake. These are pushed via single TLS record and effectively put minimum size limit on TLS record buffer. Recently, these commonly grew over 4K, so we have little choice but to adjust.
-
Paul Sokolovsky authored
As enabled by SNI support in axTLS v2+.
-
Paul Sokolovsky authored
ssl_client_new() accepts new SSL_EXTENSIONS* argument.
-
Paul Sokolovsky authored
axTLS 2.1.3 brings support for TLS 1.2 and SNI. With MicroPython patchset on top of it, the code size growth (x86) is ~2K.
-
Damien George authored
This patch fixes 2 things when printing a floating-point number that requires rounding up of the mantissa: - retain the correct precision; eg 0.99 becomes 1.0, not 1.00 - if the exponent goes from -1 to 0 then render it as +0, not -0
-
- 11 Jun, 2017 5 commits
-
-
Paul Sokolovsky authored
Baremetal ports standardized on providing localtime(). localtime() offers more functionality, in particular, strftime() can be completely implemented in Python with localtime().
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
- 10 Jun, 2017 5 commits
-
-
Paul Sokolovsky authored
Happened with 32-bit gcc 4.8.4.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
In 1.8, Zephyr made a controversial change of dumping C99 stdint types and switching to its own types.
-
Paul Sokolovsky authored
Helpful when dealing with frozen modules (and whole applications).
-
- 09 Jun, 2017 3 commits
-
-
Paul Sokolovsky authored
Don't create copy of immutable object's contents until .write() is called on BytesIO.
-
Damien George authored
-
Damien George authored
Taking the address of a local variable leads to increased stack usage, so the mp_decode_uint_skip() function is added to reduce the need for taking addresses. The changes in this patch reduce stack usage of a Python call by 8 bytes on ARM Thumb, by 16 bytes on non-windowing Xtensa archs, and by 16 bytes on x86-64. Code size is also slightly reduced on most archs by around 32 bytes.
-
- 08 Jun, 2017 6 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
The latter is shorter and simpler because it doesn't require importing the sys module.
-
Tamas TEVESZ authored
make is not always GNU make; the latter may go by different names. This helps builds on systems where the default make is not GNU make.
-
Tamas TEVESZ authored
make is not always GNU make; the latter may go by different names. This helps builds on systems where the default make is not GNU make.
-
Damien George authored
Currently just a dummy command that returns "success", but it's needed for some O/S's to correctly talk with the SCSI layer.
-
- 07 Jun, 2017 8 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Sylvain Pelissier authored
-
Sylvain Pelissier authored
-
Damien George authored
These args are currently ignored but are parsed to make it easier to write portable scripts between CPython and MicroPython.
-