- 03 Oct, 2014 1 commit
-
-
Damien George authored
Addressing issue #50.
-
- 13 Sep, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
Tested and working on unix and pyboard.
-
- 07 Sep, 2014 1 commit
-
-
Damien George authored
-
- 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.
-
- 24 Aug, 2014 1 commit
-
-
Damien George authored
Addresses issue #811.
-
- 12 Aug, 2014 2 commits
-
-
Damien George authored
reversed function now implemented, and works for tuple, list, str, bytes and user objects with __len__ and __getitem__. Renamed mp_builtin_len to mp_obj_len to make it publically available (eg for reversed).
-
Damien George authored
-
- 31 Jul, 2014 1 commit
-
-
Damien George authored
This removes mpz_as_int, since that was a terrible function (it implemented saturating conversion). Use mpz_as_int_checked and mpz_as_uint_checked. These now work correctly (they previously had wrong overflow checking, eg print(chr(10000000000000)) on 32-bit machine would incorrectly convert this large number to a small int).
-
- 28 Jul, 2014 1 commit
-
-
Paul Sokolovsky authored
Many OSes/CPUs have affinity to put "user" data into lower half of address space. Take advantage of that and remap such addresses into full small int range (including negative part). If address is from upper half, long int will be used. Previously, small int was returned for lower quarter of address space, and upper quarter. For 2 middle quarters, long int was used, which is clearly worse schedule than the above.
-
- 19 Jul, 2014 1 commit
-
-
Paul Sokolovsky authored
And not system printf(), like it was before. For this, move pfenv_printf() from stmhal port to py/.
-
- 03 Jul, 2014 1 commit
-
-
Damien George authored
See discussion in issue #50.
-
- 28 Jun, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
-
- 26 Jun, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Chris Angelico authored
-
- 20 Jun, 2014 1 commit
-
-
Paul Sokolovsky authored
One thing is wanting to do 1 / 2 and get something else but 0, and quite another - doing rocket science ;-).
-
- 19 Jun, 2014 1 commit
-
-
Emmanuel Blot authored
-
- 07 Jun, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 05 Jun, 2014 1 commit
-
-
Chris Angelico 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.
-
- 25 May, 2014 1 commit
-
-
Damien George authored
This removes need for some casts (at least, more than it adds need for new casts!).
-
- 11 May, 2014 1 commit
-
-
Paul Sokolovsky 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.
-
- 01 May, 2014 1 commit
-
-
Andrew Scheller authored
Fixes #539
-
- 26 Apr, 2014 1 commit
-
-
Damien George authored
-
- 17 Apr, 2014 2 commits
-
-
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.
-
Damien George authored
Addresses issue #487.
-
- 15 Apr, 2014 3 commits
-
-
Damien George authored
-
Damien George authored
I was too hasty. Still a one-liner though.
-
Damien George authored
A one-liner, added especially for @pfalcon :)
-
- 05 Apr, 2014 7 commits
-
-
Paul Sokolovsky authored
Based on the discussion in #433. mp_load_attr() is critical-path function, so any extra check will slowdown any script. As supporting default val required only for getattr() builtin, move correspending implementation there (still as a separate function due to concerns of maintainability of such almost-duplicated code instances).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
Finishes addressing issue #424. In the end this was a very neat refactor that now makes things a lot more consistent across the py code base. It allowed some simplifications in certain places, now that everything is a dict object. Also converted builtins tables to dictionaries. This will be useful when we need to turn builtins into a proper module.
-
Damien George authored
Towards addressing issue #424. Had a small increase to ROM usage (order 60 bytes).
-
Damien George authored
This does not affect code size or performance when debugging turned off. To address issue #420.
-
Paul Sokolovsky authored
-