- 16 Jan, 2015 1 commit
-
-
Damien George authored
See issue #699.
-
- 01 Jan, 2015 1 commit
-
-
Damien George authored
Addresses issue #1022.
-
- 29 Dec, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This fixes conversion when float type has more mantissa bits than small int, and float value has small exponent. This is for example the case of 32-bit platform using doubles, and converting value of time.time(). Conversion of floats with larg exponnet is still not handled correctly.
-
- 05 Dec, 2014 1 commit
-
-
Damien George authored
mp_obj_int_get_truncated is used as a "fast path" int accessor that doesn't check for overflow and returns the int truncated to the machine word size, ie mp_int_t. Use mp_obj_int_get_truncated to fix struct.pack when packing maximum word sized values. Addresses issues #779 and #998.
-
- 06 Oct, 2014 1 commit
-
-
Damien George authored
Partly addresses issue #856.
-
- 03 Oct, 2014 1 commit
-
-
Damien George authored
Addressing issue #50.
-
- 10 Sep, 2014 1 commit
-
-
Damien George authored
Addresses issue #848.
-
- 30 Aug, 2014 2 commits
-
-
Damien George authored
Part of code cleanup, working towards resolving issue #50.
-
Damien George authored
Part of code cleanup, working towards resolving issue #50.
-
- 29 Aug, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
Addressing issue #50, still some way to go yet.
-
- 27 Aug, 2014 2 commits
-
-
Damien George authored
Saves ROM (16 on stmhal, 240 on 64-bit unix) and should be quicker since there is 1 less branch.
-
Dave Hylands authored
-
- 13 Aug, 2014 1 commit
-
-
Damien George authored
Multiplication of a tuple, list, str or bytes now yields an empty sequence (instead of crashing). Addresses issue #799 Also added ability to mult bytes on LHS by integer.
-
- 31 Jul, 2014 1 commit
-
-
Damien George authored
Addresses issue #724.
-
- 24 Jul, 2014 1 commit
-
-
Damien George authored
Addresses issue #765.
-
- 03 Jul, 2014 1 commit
-
-
Damien George authored
See discussion in issue #50.
-
- 06 Jun, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 01 Jun, 2014 1 commit
-
-
Damien George authored
This renames: MICROPY_PY_FROZENSET -> MICROPY_PY_BUILTINS_FROZENSET MICROPY_PY_PROPERTY -> MICROPY_PY_BUILTINS_PROPERTY MICROPY_PY_SLICE -> MICROPY_PY_BUILTINS_SLICE MICROPY_ENABLE_FLOAT -> MICROPY_PY_BUILTINS_FLOAT See issue #35 for discussion.
-
- 28 May, 2014 3 commits
-
-
Damien George authored
Also unifies use of SMALL_INT_FITS macro across parser and runtime.
-
Damien George authored
-
Damien George authored
Addresses issue #627.
-
- 21 May, 2014 1 commit
-
-
Damien George authored
See issue #608 for justification.
-
- 17 May, 2014 2 commits
-
-
Sven Wegener authored
Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
Paul Sokolovsky authored
-
- 11 May, 2014 1 commit
-
-
Damien George authored
Updated functions now do proper checking that n_kw==0, and are simpler because they don't have to explicitly raise an exception. Down side is that the error messages no longer include the function name, but that's acceptable. Saves order 300 text bytes on x64 and ARM.
-
- 08 May, 2014 1 commit
-
-
stijn authored
Extend the windows port so it compiles with the toolchain from Visual Studio 2013
-
- 07 May, 2014 1 commit
-
-
Damien George authored
-
- 03 May, 2014 1 commit
-
-
Damien George authored
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
-
- 02 May, 2014 1 commit
-
-
Paul Sokolovsky authored
Specifically, nlr.h does.
-
- 18 Apr, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
When querying an object that supports the buffer protocol, that object must now return a typecode (as per binary.[ch]). This does not have to be honoured by the caller, but can be useful for determining element size.
-
- 17 Apr, 2014 1 commit
-
-
Damien George authored
Also make consistent use of MP_OBJ_NOT_SUPPORTED and MP_OBJ_NULL. This helps a lot in debugging and understanding of function API.
-
- 13 Apr, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
-
- 08 Apr, 2014 2 commits
-
-
Damien George authored
With the implementation of proper string formatting, code to print a small int was delegated to mpz_as_str_inpl (after first converting the small int to an mpz using stack memory). But mpz_as_str_inpl allocates heap memory to do the conversion, so small ints needed heap memory just to be printed. This fix has a separate function to print small ints, which does not allocate heap, and allocates less stack. String formatting, printf and pfenv are now large beasts, with some semi-duplicated code.
-
Paul Sokolovsky authored
These two are apprerently the most concise and efficient way to convert int to/from bytes in Python. The alternatives are struct and array modules, but methods using them are more verbose in Python code and less efficient in memory/cycles.
-
- 07 Apr, 2014 2 commits
-
-
Dave Hylands authored
-
Dave Hylands authored
-