- May 25, 2014
-
-
Damien George authored
This completes non-automatic interning of strings in the parser, so that doc strings don't take up RAM. It complicates the parser and compiler, and bloats stmhal by about 300 bytes. It's complicated because now there are 2 kinds of parse-nodes that can be strings: interned leaves and non-interned structs.
-
Damien George authored
Merge branch 'keep-strings-uninterned' of github.com:pfalcon/micropython into pfalcon-keep-strings-uninterned Conflicts: py/parse.c
-
Paul Sokolovsky authored
-
- May 24, 2014
-
-
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
-
Paul Sokolovsky authored
Older int-only encoding is not expressive enough to support arbitrary slice assignment operations.
-
Damien George authored
Addresses issue #598.
-
Damien George authored
Now of the form MICROPY_PY_*. See issue #35.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
.makefile() should allow to specify which stream time to create - byte or text.
-
- May 21, 2014
-
-
Paul Sokolovsky authored
Caveat is that __new__ should recurse to base class __new__, and ultimately, object.__new__ is what handles instance allocation.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
MP_ALLOC_* -> MICROPY_ALLOC_* MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX MICROPY_EXTRA_* -> MICROPY_PORT_* See issue #35.
-
Paul Sokolovsky authored
Also, define object.__init__() (semantically empty, purely CPython compat measure). Addresses #520.
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Allow compilation of unix port under clang on OS X
-
Damien George authored
See issue #608 for justification.
-
Damien George authored
-
- May 20, 2014
-
-
Paul Sokolovsky authored
windows: Fix compilation with mingw-w64 so it uses correct printf implem...
-
Paul Sokolovsky authored
-
stijn authored
Without this flag, mingw-w64 uses the MS implementations of snpintf and the likes. This is not really a problem since they work with the the fixes provided for msvc, but due to the way mingw-w64's stdio.h is structured we cannot get it to use the fixes.
-
- May 19, 2014
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
io.FileIO is binary I/O, ans actually optional. Default file type is io.TextIOWrapper, which provides str results. CPython3 explicitly describes io.TextIOWrapper as buffered I/O, but we don't have buffering support yet anyway.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Now case of subclassing tuple works, and list is broken, see comments.
-
Paul Sokolovsky authored
Now schedule is: for native types, we call ->make_new() C-level method, which should perform actions of __new__ and __init__ (note that this is not compliant, but is efficient), but for user types, __new__ and __init__ are called as expected. Also, make sure we convert scalar attribute value to a bound-pair tight in mp_obj_class_lookup() method, which avoids converting it again and again in its callers.
-
Damien George authored
-
Damien George authored
Addresses issue #617.
-
Damien George authored
-
Damien George authored
Jump to bootloader
-
- May 18, 2014
-
-
Sven Wegener authored
Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
Sven Wegener authored
Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
- May 17, 2014
-
-
Paul Sokolovsky authored
py: Fix mp_obj_t -> mp_const_obj_t for mp_obj_int_get_checked()
-
Sven Wegener authored
Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
Paul Sokolovsky authored
-