- 07 Jun, 2014 1 commit
-
-
Damien George authored
Should finish addressing issue #524.
-
- 05 Jun, 2014 1 commit
-
-
Paul Sokolovsky authored
Also, make sure that args to "*" format specifiers are bounds-checked properly and don't lead for segfaults in case of mismatch.
-
- 01 Jun, 2014 2 commits
-
-
Damien George authored
-
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 2 commits
-
-
Damien George authored
Also unifies use of SMALL_INT_FITS macro across parser and runtime.
-
Damien George authored
Addresses issue #627.
-
- 25 May, 2014 3 commits
-
-
Damien George authored
This removes need for some casts (at least, more than it adds need for new casts!).
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 24 May, 2014 3 commits
-
-
Paul Sokolovsky authored
This means that complete slice operations are supported for lists (but not for bytearray's and array.array's).
-
Paul Sokolovsky authored
Older int-only encoding is not expressive enough to support arbitrary slice assignment operations.
-
Damien George authored
Addresses issue #598.
-
- 21 May, 2014 1 commit
-
-
Damien George authored
See issue #608 for justification.
-
- 17 May, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 15 May, 2014 1 commit
-
-
Paul Sokolovsky authored
Done in generalized manner, allowing any stream class to be specified as working with bytes.
-
- 11 May, 2014 2 commits
-
-
Damien George authored
Likely there are other functions that should be renamed, but this is a start.
-
Paul Sokolovsky authored
Two things are handled here: allow to compare native subtypes of tuple, e.g. namedtuple (TODO: should compare type too, currently compared duck-typedly by content). Secondly, allow user sunclasses of tuples (and its subtypes) be compared either. "Magic" I did previously in objtype.c covers only one argument (lhs is many), so we're in trouble when lhs is native type - there's no other option besides handling rhs in special manner. Fortunately, this patch outlines approach with fast path for native types.
-
- 10 May, 2014 5 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Slice value to assign can be only a list so far too.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Tired of patching CPython stdlib for it.
-
Damien George authored
-
- 07 May, 2014 1 commit
-
-
Damien George authored
-
- 03 May, 2014 2 commits
-
-
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/.
-
Paul Sokolovsky authored
Well, it is bound to "detailed error reporting", but that's closest what we have now without creating new entities.
-
- 01 May, 2014 2 commits
-
-
Paul Sokolovsky authored
This is ugly, just as expected.
-
Paul Sokolovsky authored
-
- 27 Apr, 2014 2 commits
-
-
Paul Sokolovsky authored
Also, clear up freed slots in containers. As a follow up to 32bef315.
-
Damien George authored
Implements 'def f(*, a)' and 'def f(*a, b)', but not default keyword-only args, eg 'def f(*, a=1)'. Partially addresses issue #524.
-
- 26 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 21 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 20 Apr, 2014 1 commit
-
-
Damien George authored
Closed over variables are now passed on the stack, instead of creating a tuple and passing that. This way memory for the closed over variables can be allocated within the closure object itself. See issue #510 for background.
-
- 19 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 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 4 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
mp_obj_t->subscr now does load/store/delete.
-
Damien George authored
-
Damien George authored
Addresses issue #487.
-
- 13 Apr, 2014 1 commit
-
-
Damien George authored
Enabled by MICROPY_ENABLE_PROPERTY.
-