- 24 May, 2014 3 commits
-
-
Damien George authored
Now of the form MICROPY_PY_*. See issue #35.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
.makefile() should allow to specify which stream time to create - byte or text.
-
- 21 May, 2014 6 commits
-
-
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
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
See issue #608 for justification.
-
- 20 May, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 19 May, 2014 3 commits
-
-
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 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.
-
- 17 May, 2014 3 commits
-
-
Sven Wegener authored
Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 15 May, 2014 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This time, in mp_seq_cmp_bytes(). How many more cases are still lurking?
-
Paul Sokolovsky authored
Done in generalized manner, allowing any stream class to be specified as working with bytes.
-
- 13 May, 2014 3 commits
-
-
Paul Sokolovsky authored
sep=None is TODO.
-
Damien George authored
This should now have correct (and optimal) behaviour.
-
Paul Sokolovsky authored
-
- 12 May, 2014 6 commits
-
-
Damien George authored
Addresses issue #610.
-
Damien George authored
Debugging output for emit_glue now simplified so that the init and deinit functions are no longer needed.
-
Damien George authored
__debug__ now resolves to True or False. Its value needs to be set by mp_set_debug(). TODO: call mp_set_debug in unix/ port. TODO: optimise away "if False:" statements in compiler.
-
Damien George authored
-
Paul Sokolovsky authored
Infra for counts of other types is there, need last mile to be implemented.
-
Antonin ENFRUN authored
Fix some unused variables, and silence a clang warning about initialization override in vmentrytable.h
-
- 11 May, 2014 11 commits
-
-
Antonin ENFRUN authored
It's a hack, but can't find a cleaner way to do it.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Having both MP_OBJ_NOT_SUPPORTED and MP_OBJ_NULL is arguably confusing.
-
Paul Sokolovsky authored
This is better than forcing each getiter() implementation to raise exception.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
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.
-
Damien George authored
-