| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-02-04 | Fix unstable case in builtin_id.py test. | Paul Sokolovsky | |
| 2014-02-02 | Merge branch 'xbe-master' | Damien George | |
| 2014-02-02 | Change id to return signed integer. | Damien George | |
| 2014-02-02 | Implement str/bytes rich comparisons. | Paul Sokolovsky | |
| 2014-02-01 | Implement and add tests for the id() builtin function. | xbe | |
| 2014-02-02 | Implement slicing for tuples. | Paul Sokolovsky | |
| 2014-02-02 | Implement slicing for lists. | Paul Sokolovsky | |
| 2014-02-02 | Add testcase for sequence unpacking. | Paul Sokolovsky | |
| 2014-02-01 | py: Implement break/continue from an exception with finally. | Damien George | |
| Still todo: break/continue from within the finally block itself. | |||
| 2014-02-01 | Merge branch 'fun-defargs' of github.com:pfalcon/micropython into ↵ | Damien George | |
| pfalcon-fun-defargs | |||
| 2014-02-01 | Implement default function arguments (for Python functions). | Paul Sokolovsky | |
| TODO: Decide if we really need separate bytecode for creating functions with default arguments - we would need same for closures, then there're keywords arguments too. Having all combinations is a small exponential explosion, likely we need just 2 cases - simplest (no defaults, no kw), and full - defaults & kw. | |||
| 2014-02-01 | Add exception stack unwind support for RETURN_VALUE. | Paul Sokolovsky | |
| This properly implements return from try/finally block(s). TODO: Consider if we need to do any value stack unwinding for RETURN_VALUE case. Intuitively, this is "success" return, so value stack should be in good shape, and unwinding shouldn't be required. | |||
| 2014-01-31 | Merge pull request #246 from pfalcon/exc_stack_entry | Damien George | |
| vm: Introduce structure for exception stack entry, record entry type. | |||
| 2014-01-31 | Merge branch 'master' of github.com:xbe/micropython into xbe-master | Damien George | |
| 2014-01-31 | Add basic try-finally testcase. | Paul Sokolovsky | |
| It's mildly suprising these work without further changes to exception handling code (the only change required was to handle SETUP_FINALLY). | |||
| 2014-01-31 | Typo fixes in comments. | Paul Sokolovsky | |
| 2014-01-31 | Add testcase with exception handler spread across functions. | Paul Sokolovsky | |
| 2014-01-30 | Implement str.replace and add tests for it. | xbe | |
| 2014-01-30 | Add tests for str.strip | xbe | |
| 2014-01-30 | vm: Add basic implementation of END_FINALLY opcode. | Paul Sokolovsky | |
| Allows to have nested try blocks with except filters. TODO: Don't add END_FINALLY's exception re-raise points to traceback. | |||
| 2014-01-30 | py: Improve __bool__ and __len__ dispatch; add slots for them. | Damien George | |
| 2014-01-30 | Implement __bool__ and __len__ via unary_op virtual method for all types. | Paul Sokolovsky | |
| __bool__() and __len__() are just the same as __neg__() or __invert__(), and require efficient dispatching implementation (not requiring search/lookup). type->unary_op() is just the right choice for this short of adding standalone virtual method(s) to already big mp_obj_type_t structure. | |||
| 2014-01-28 | Rename array test to array1 so it doesn't clash with array module. | Damien George | |
| On my machine, 'import array' in CPython tries to load the array test. | |||
| 2014-01-28 | bytearray: Print objects properly. | Paul Sokolovsky | |
| 2014-01-28 | Add basic array.array test. | Paul Sokolovsky | |
| 2014-01-27 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-01-27 | py: Add unary op not for NoneType, bool, tuple, list, dict; fix for int. | Damien George | |
| 2014-01-27 | long int: Implement more operations. | Paul Sokolovsky | |
| 2014-01-27 | gen.send(): Throw StopIteration. Also, explicitly shutdown finished gen. | Paul Sokolovsky | |
| Otherwise, some generator statements still may be spuriously executed on subsequent calls to next()/send(). | |||
| 2014-01-26 | Implement send() method for generators. | Paul Sokolovsky | |
| 2014-01-25 | py: Implement iterator support for object that has __getitem__. | Damien George | |
| Addresses Issue #203. | |||
| 2014-01-24 | Add basic implementation of bytes type, piggybacking on str. | Paul Sokolovsky | |
| This reuses as much str implementation as possible, from this we can make them more separate as needed. | |||
| 2014-01-23 | mp_obj_is_callable(): Only object types can be callable. | Paul Sokolovsky | |
| Fixes segfault on callable("string"). | |||
| 2014-01-23 | Implement simplest case of str.startswith(). | Paul Sokolovsky | |
| 2014-01-22 | Implement octal and hex escapes in strings. | Paul Sokolovsky | |
| 2014-01-21 | py: Implement break and continue byte codes, and add tests. | Damien George | |
| Also fixes a bug in the for-in-range optimiser. I hope to remove break and continue byte codes in the future and just use jump (if possible). | |||
| 2014-01-21 | Add bytearray basic tests. | Paul Sokolovsky | |
| 2014-01-21 | Implement str.split(None). | Paul Sokolovsky | |
| Note that splitting by explicit string is not implemented so far. | |||
| 2014-01-21 | str: Implement proper string (instead of byte string) indexing. | Paul Sokolovsky | |
| Also, support negative indexes. | |||
| 2014-01-21 | Implement string multiplication. | Paul Sokolovsky | |
| 2014-01-19 | Move tests in basic/tests/ up one level preparating to multiple test dirs. | Paul Sokolovsky | |
| 2014-01-19 | Tiny optimisation in objlist.c; a new test for inheritance. | Damien George | |
| 2014-01-18 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-01-18 | Improve method lookup in mp_obj_class_lookup. | Damien George | |
| Now searches both locals_dict and methods. Partly addresses Issue #145. | |||
| 2014-01-18 | Add testcase for subclassing builtin type and calling native method (broken). | Paul Sokolovsky | |
| 2014-01-18 | Implement framework for class-defined built-in operators. | Damien George | |
| Now working for class-defined methods: __getitem__, __setitem__, __add__, __sub__. Easy to add others. | |||
| 2014-01-16 | Add empty (false) value testing for strings, tuples, lists, dicts. | Paul Sokolovsky | |
| 2014-01-16 | str.format: Don't assume that '}' immediately follows '{', skip insides. | Paul Sokolovsky | |
| That at least makes stuff like "{:x}".format(1) to produce not completely broken output. | |||
| 2014-01-15 | Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2int | Damien George | |
| Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile | |||
| 2014-01-15 | Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-repr | Damien George | |
| Conflicts: tests/basics/tests/exception1.py | |||
