| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-05-13 | py, unix: Add copyright for modules I worked closely on. | Paul Sokolovsky | |
| 2014-05-13 | tests/int-long.py: Try to expose issue with recent "&" optimization. | Paul Sokolovsky | |
| 2014-05-12 | py: Fix bug in mpz_and function. | Damien George | |
| Addresses issue #610. | |||
| 2014-05-12 | unix: Implement -O option to turn off __debug__ flag. | Damien George | |
| 2014-05-12 | py: Remove emit_glue init and deinit. Needed only for debugging. | Damien George | |
| Debugging output for emit_glue now simplified so that the init and deinit functions are no longer needed. | |||
| 2014-05-12 | py: Add support for __debug__ constant. | Damien George | |
| __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. | |||
| 2014-05-12 | py: Rename BYTE_CODE to BYTECODE (this was missed in previous rename). | Damien George | |
| 2014-05-13 | unix: Fix linker errors when time/ffi modules are disabled | stijn | |
| When disabling these via mpconfigport.mk or on the commandline, the correspoding build options are not set and the sources are not built so the modules should not be added to the MICROPY_EXTRA_BUILTIN_MODULES list since they are undefined. | |||
| 2014-05-12 | modstruct: Implement count specifier for strings (e.g. "100s"). | Paul Sokolovsky | |
| Infra for counts of other types is there, need last mile to be implemented. | |||
| 2014-05-11 | modstruct: Use MP_OBJ_FUN_ARGS_MAX instead of -1. | Paul Sokolovsky | |
| 2014-05-11 | objstr: Slice indexing: support bytes properly. | Paul Sokolovsky | |
| 2014-05-11 | objstr: Make .split() support bytes. | Paul Sokolovsky | |
| 2014-05-11 | objstr: Make .join() support bytes. | Paul Sokolovsky | |
| 2014-05-11 | py: Fix __len__ special method result handling. | Paul Sokolovsky | |
| Having both MP_OBJ_NOT_SUPPORTED and MP_OBJ_NULL is arguably confusing. | |||
| 2014-05-11 | py: Don't expect that type->getiter() always returns iterator, check for NULL. | Paul Sokolovsky | |
| This is better than forcing each getiter() implementation to raise exception. | |||
| 2014-05-11 | showbc: Decode MAP_ADD. | Paul Sokolovsky | |
| 2014-05-11 | py: Add basic implementation of hasattr() function. | Paul Sokolovsky | |
| 2014-05-11 | Merge pull request #605 from stinos/travis-mingw | Damien George | |
| travis: Add cross-compilation of mingw port | |||
| 2014-05-11 | Merge pull request #604 from stinos/windows-enablefeat | Damien George | |
| windows: Enable frozen set and sys.exit | |||
| 2014-05-11 | py: Use mp_arg_check_num in more places. | Damien George | |
| 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. | |||
| 2014-05-11 | travis: Add cross-compilation of mingw port | stijn | |
| 2014-05-11 | py: frozenset() creates an empty frozenset. | Damien George | |
| 2014-05-11 | windows: Enable frozen set and sys.exit | stijn | |
| 2014-05-11 | py: Rename globally-accessible tuple functions, prefix with mp_obj_. | Damien George | |
| Likely there are other functions that should be renamed, but this is a start. | |||
| 2014-05-11 | py: Rename some unichar functions for consistency. | Damien George | |
| 2014-05-11 | py: Rename MICROPY_SYS_EXIT to MICROPY_MOD_SYS_EXIT. | Damien George | |
| For consistency with MICROPY_MOD_SYS_STDFILES, etc. | |||
| 2014-05-11 | stmhal: Enable frozenset. Takes 292 text bytes in ROM. | Damien George | |
| 2014-05-11 | Merge pull request #597 from stinos/mingw-compilation | Damien George | |
| mingw: Fix compilation issues | |||
| 2014-05-11 | Merge pull request #603 from stinos/windows-tests-newline | Damien George | |
| tests: Fix handling of newlines from expected output files on windows | |||
| 2014-05-11 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-05-11 | stmhal: Update CC3000 driver to newer version. | Damien George | |
| Still not working properly. | |||
| 2014-05-11 | py: Give up and make mp_obj_str_get_data() deal with bytes too. | Paul Sokolovsky | |
| This is not fully correct re: error handling, because we should check that that types are used consistently (only str's or only bytes), but magically makes lot of functions support bytes. | |||
| 2014-05-11 | tests: Fix handling of newlines from expected output files | stijn | |
| 2014-05-11 | objstr: Make *strip() accept bytes. | Paul Sokolovsky | |
| 2014-05-11 | tests: Really fix import. | Paul Sokolovsky | |
| 2014-05-11 | tests: Fix import. | Paul Sokolovsky | |
| 2014-05-11 | objtuple: Go out of the way to support comparison of subclasses. | Paul Sokolovsky | |
| 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. | |||
| 2014-05-11 | py: Don't try to "bind" types store as attributes of objects. | Paul Sokolovsky | |
| This was hit when trying to make urlparse.py from stdlib run. Took quite some time to debug. TODO: Reconsile bound method creation process better, maybe callable is to generic type to bind at all? | |||
| 2014-05-11 | objstr: Make .[r]partition() work with bytes. | Paul Sokolovsky | |
| 2014-05-11 | objboundmeth: If detailed reporting enabled, print object content. | Paul Sokolovsky | |
| Similar to closure and cell. | |||
| 2014-05-11 | py: Start making good use of mp_const_obj_t. | Paul Sokolovsky | |
| 2014-05-10 | stmhal/cc3k: Remove spaces and tabs at end of lines. | Damien George | |
| 2014-05-10 | objlist: Support list slice deletion. | Paul Sokolovsky | |
| 2014-05-10 | objlist: Implement non-growing slice assignment. | Paul Sokolovsky | |
| Slice value to assign can be only a list so far too. | |||
| 2014-05-10 | py: Fix prefix on few sequence helpers, was incorrectly "mp_". | Paul Sokolovsky | |
| 2014-05-10 | objtype: Comments for duplicating code in runtime.c. | Paul Sokolovsky | |
| 2014-05-10 | objtype: Implement ->getiter() method for instances. | Paul Sokolovsky | |
| Includes support for native bases. | |||
| 2014-05-10 | py: Make mp_obj_print() handle null object w/o segfault if debug build. | Paul Sokolovsky | |
| Happens regularly when used for debugging. | |||
| 2014-05-10 | objnamedtuple: Support iteration. | Paul Sokolovsky | |
| 2014-05-10 | tools: Move gendoc.py to tools, and make it a little more generic. | Damien George | |
