- 19 Mar, 2015 1 commit
-
-
Damien George authored
-
- 17 Mar, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 16 Mar, 2015 5 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
We already have branch for lookup->is_type == true, so here it's guaranteed to be false.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
- 14 Mar, 2015 6 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
These allow to fine-tune the compiler to select whether it optimises tuple assignments of the form a, b = c, d and a, b, c = d, e, f. Sensible defaults are provided.
-
Damien George authored
-
- 12 Mar, 2015 1 commit
-
-
Damien George authored
-
- 11 Mar, 2015 1 commit
-
-
Peter D. Gray authored
-
- 06 Mar, 2015 1 commit
-
-
Paul Sokolovsky authored
This follows existing pattern for object constructor API and allows to create memoryview objects e.g. in external modules.
-
- 05 Mar, 2015 1 commit
-
-
Paul Sokolovsky authored
Might be useful at least for memoryview hacks.
-
- 04 Mar, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 03 Mar, 2015 6 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
Just to reduce code size. Messages are still to the point and unambiguous.
-
Damien George authored
-
stijn authored
-
- 02 Mar, 2015 4 commits
-
-
Damien George authored
Should only give an error on the last pass of the assembler, since that's when we are certain about the branch size.
-
Damien George authored
-
Damien George authored
Addresses issue #1143.
-
Damien George authored
-
- 01 Mar, 2015 1 commit
-
-
Damien George authored
Addresses issue #1140.
-
- 28 Feb, 2015 3 commits
-
-
Damien George authored
Saves around 60 bytes code on Thumb2 archs.
-
Damien George authored
Saves 116 bytes for stmhal and 56 bytes for cc3200 port.
-
Damien George authored
Reduces code size by 72 bytes on Thumb2 archs.
-
- 27 Feb, 2015 4 commits
-
-
Paul Sokolovsky authored
This is rarely used feature which takes enough code to implement, so is controlled by MICROPY_PY_ARRAY_SLICE_ASSIGN config setting, default off. But otherwise it may be useful, as allows to update arbitrary-sized data buffers in-place. Slice is yet to implement, and actually, slice assignment implemented in such a way that RHS of assignment should be array of the exact same item typecode as LHS. CPython has it more relaxed, where RHS can be any sequence of compatible types (e.g. it's possible to assign list of int's to a bytearray slice). Overall, when all "slice write" features are implemented, it may cost ~1KB of code.
-
Damien George authored
Saves about 250 code bytes for Thumb2 archs.
-
Damien George authored
This is so all memory requests go through the same interface.
-
Damien George authored
This makes exception traceback info self contained (ie doesn't rely on list object, which was a bit of a hack), reduces code size, and reduces RAM footprint of exception by eliminating the list object. Addresses part of issue #1126.
-
- 26 Feb, 2015 1 commit
-
-
Damien George authored
Slightly smaller code, and does not need to use C stack to save temporaries.
-
- 25 Feb, 2015 1 commit
-
-
Damien George authored
Addresses issue #1132.
-
- 24 Feb, 2015 2 commits
-
-
Damien George authored
-
Damien George authored
-