- 23 Nov, 2015 7 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
This patch checks that there is only one *, and that ** is last in the arg list.
-
Damien George authored
Fixes issue #1623.
-
Damien George authored
-
Damien George authored
-
Damien George authored
Loading .mpy files will now check to make sure that the target VM can support the bytecode.
-
- 22 Nov, 2015 9 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Tested by comparability to small int/casting to bool.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
And thus can be successfully used in comparisons, etc.
-
Paul Sokolovsky authored
%f prints true integer digit, so its calculation should happen before any exponential scaling.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This takes previous IEEE-754 single precision float implementation, and converts it to fully portable parametrizable implementation using C99 functions like signbit(), isnan(), isinf(). As long as those functions are available (they can be defined in adhoc manner of course), and compiler can perform standard arithmetic and comparison operations on a float type, this implementation will work with any underlying float type (including types whose mantissa is larger than available intergral integer type).
-
Paul Sokolovsky authored
-
- 21 Nov, 2015 5 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
In other words, unix port now uses overriden printf(), instead of using libc's. This should remove almost all dependency on libc stdio (which is bloated).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This may not seem like the ideal place, but is actually the only place in py/ where it gets referenced, so is just right.
-
Paul Sokolovsky authored
-
- 20 Nov, 2015 8 commits
-
-
Paul Sokolovsky authored
Return tuple of (address_family, net_addr, [port, [extra_data]]). net_addr is still raw network address as bytes object, but suitable for passing to inet_ntop() function. At the very least, sockaddr() will separate address family value from binary socket address (and currently, only AF_INET family is decoded).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Here we are assuming that a thumb2 port will have fatfs, which is only roughly true. We need a better way of enabling specific raw-code file readers.
-
Damien George authored
This can then be passed to mp_raw_code_save_file to save a .mpy file.
-
- 19 Nov, 2015 2 commits
-
-
Igor Gatis authored
-
Damien George authored
This change makes the code behave how it was supposed to work when first written. The avail_slot variable is set to the first free slot when looking for a key (which would come from deleting an entry). So it's more efficient (for subsequent lookups) to insert a new key into such a slot, rather than the very last slot that was searched.
-
- 18 Nov, 2015 7 commits
-
-
danicampora authored
-
danicampora authored
-
Chris Liechti authored
-
Jason Hildebrand authored
Also provide workarounds, link to other revelant sections, and fix some typos.
-
Gary Ashton-Jones authored
-
Noah authored
- The link establishment timeout is infinite by default - Fix typo in notes about the auth kwarg
-
Dave Hylands authored
-
- 17 Nov, 2015 2 commits
-
-
Damien George authored
It can change asynchronously.
-
Damien George authored
Will be included only when MICROPY_PY_MATH_SPECIAL_FUNCTIONS is enabled. Also covers cmath module (but only log10 is there at the moment).
-