summaryrefslogtreecommitdiffstatshomepage
path: root/py
Commit message (Collapse)AuthorAge
* Merge pull request #168 from dhylands/add-strstrDamien George2014-01-13
|\ | | | | Added public domain implementations of strchr and strstr.
| * Added public domain implementations of strchr and strstr.Dave Hylands2014-01-12
| |
* | Cleanup built-ins, and fix some compiler warnings/errors.Damien George2014-01-13
| |
* | Initialize is_kw for dynamically allocated mp_obj_fun_native_t ojects.Dave Hylands2014-01-13
|/ | | | This should fix issue #171
* Merge pull request #162 from chipaca/str_findDamien George2014-01-12
|\ | | | | Implement a basic str.find; fixes #67
| * Implement a basic str.find; fixes #67John R. Lenton2014-01-12
| |
* | Merge pull request #160 from pfalcon/elaborate-intDamien George2014-01-12
|\ \ | | | | | | Elaborate small-int/long-int
| * | Add framework to support alternative implementations of long int Python type.Paul Sokolovsky2014-01-12
| | |
| * | Parse long Python ints properly.Paul Sokolovsky2014-01-12
| | | | | | | | | | | | | | | | | | Long int is something which doesn't fit into SMALL_INT partion of machine_int_t. But it's also something which doesn't fit into machine_int_t in the first place.
| * | Add proper checks for fits-in-small-int. Make it reusable.Paul Sokolovsky2014-01-12
| | | | | | | | | | | | | | | | | | | | | We likely should make mp_obj_new_int() inline, and rely on its encapsulated check rather than inline checks everywhere explicitly. Also, parser for big small int values is still broken.
| * | Add WORD_MSBIT_HIGH define - machine_int_t with the highest bit set.Paul Sokolovsky2014-01-12
| | |
| * | Move BITS_PER_BYTE, BITS_PER_WORD to mpconfig.h for reuse.Paul Sokolovsky2014-01-12
| |/
* | oops, nasty off-by-one in set_copyJohn R. Lenton2014-01-12
| |
* | Implemented set binary ops.John R. Lenton2014-01-12
| |
* | Implemented set.updateJohn R. Lenton2014-01-12
| |
* | Implemented set.removeJohn R. Lenton2014-01-12
| |
* | Implemented set.isdisjointJohn R. Lenton2014-01-12
| |
* | Implemented set.intersection and set.intersection_updateJohn R. Lenton2014-01-12
| |
* | Implemented set.difference and set.difference_updateJohn R. Lenton2014-01-12
| |
* | Implemented set.discardJohn R. Lenton2014-01-12
| |
* | Implemented set.copyJohn R. Lenton2014-01-12
| |
* | Implemented set.clearJohn R. Lenton2014-01-12
| |
* | Implemented set.addJohn R. Lenton2014-01-12
| |
* | make sets iterableJohn R. Lenton2014-01-12
|/
* py: Improve memory management for parser; add lexer error for bad line cont.Damien George2014-01-12
|
* Merge pull request #148 from pfalcon/list-cmpDamien George2014-01-12
|\ | | | | Implement type virtual equality method support and implement comparisons for lists
| * list: Implement comparison operators.Paul Sokolovsky2014-01-12
| |
| * mp_obj_equal(): For non-trivial types, call out to type's special method.Paul Sokolovsky2014-01-12
| |
* | py: AssertionError is loaded from global, to match CPython.Damien George2014-01-12
| |
* | Merge pull request #146 from pfalcon/assert-excDamien George2014-01-12
|\ \ | |/ |/| Add AssertionError.
| * Add AssertionError.Paul Sokolovsky2014-01-12
| |
* | rt_binary_op(): Don't fall thru in case small_int op result doesn't fit back.Paul Sokolovsky2014-01-12
| | | | | | | | | | Currently it would report "operation not supported" which is confusing. Overall, this is thinko leading to undefined behavior.
* | list: Add extend() methods and += operator.Paul Sokolovsky2014-01-12
|/
* py: Implement staticmethod and classmethod (internally).Damien George2014-01-11
| | | | Still need to make built-ins by these names, and write tests.
* py: Fix bug where == and != not handled for small_ints.Damien George2014-01-11
|
* py: Fix emitcpy and emitnative's binary_op.Damien George2014-01-11
|
* Merge branch 'master' of github.com:dpgeorge/micropythonDamien George2014-01-11
|\
| * unified the bopsJohn R. Lenton2014-01-11
| |
* | py: Make arg to MP_BC_RAISE_VARARGS a byte.Damien George2014-01-11
|/
* Merge pull request #136 from pfalcon/for-range-downtoDamien George2014-01-10
|\ | | | | compile_for_stmt_optimised_range(): Properly handle negative & unknown s...
| * compile_for_stmt_optimised_range(): Properly handle negative & unknown steps.Paul Sokolovsky2014-01-11
| | | | | | | | | | If step is not constant, in first approximation, we can't apply optimization, (well, we could, but need a special case for this).
* | Merge pull request #135 from pfalcon/simple-raiseDamien George2014-01-10
|\ \ | | | | | | Crude attempt to implement RAISE_VARARGS (with args=1 so far only).
| * | Crude attempt to implement RAISE_VARARGS (with args=1 so far only).Paul Sokolovsky2014-01-11
| |/
* | Merge pull request #134 from pfalcon/list-mulDamien George2014-01-10
|\ \ | | | | | | list: Implement list multiplication.
| * | list: Implement list multiplication.Paul Sokolovsky2014-01-11
| |/
* | Merge pull request #131 from chipaca/dict_fromkeysDamien George2014-01-10
|\ \ | |/ |/| Added dict.fromkeys.
| * Added dict.fromkeys. Are we done with dict and #99 yet? I do think we are.John R. Lenton2014-01-10
| |
* | Unsupported operand types for binary operator: dump both args' types.Paul Sokolovsky2014-01-11
| |
* | mp_obj_equal(): Print which types' equality not implemented before assert().Paul Sokolovsky2014-01-11
| |
* | mp_repl_is_compound_stmt(): Thinko fix s/true/try/.Paul Sokolovsky2014-01-11
| |