Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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-19 |
| | |||
* | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-01-18 |
|\ | |||
| * | Add testcase for subclassing builtin type and calling native method (broken). | Paul Sokolovsky | 2014-01-18 |
| | | |||
* | | Improve method lookup in mp_obj_class_lookup. | Damien George | 2014-01-18 |
|/ | | | | Now searches both locals_dict and methods. Partly addresses Issue #145. | ||
* | Implement framework for class-defined built-in operators. | Damien George | 2014-01-18 |
| | | | | | Now working for class-defined methods: __getitem__, __setitem__, __add__, __sub__. Easy to add others. | ||
* | 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 | 2014-01-16 |
| | | | | | That at least makes stuff like "{:x}".format(1) to produce not completely broken output. | ||
* | Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2int | Damien George | 2014-01-15 |
|\ | | | | | | | | | | | | | Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile | ||
| * | add more tests and remove debug code | xyb | 2014-01-15 |
| | | |||
| * | int() test passed | xyb | 2014-01-15 |
| | | |||
| * | Implemented int(str) in UNIX | xyb | 2014-01-14 |
| | | |||
* | | Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-repr | Damien George | 2014-01-15 |
|\ \ | | | | | | | | | | | | | Conflicts: tests/basics/tests/exception1.py | ||
| * | | type->print(): Distinguish str() and repr() variety by passing extra param. | Paul Sokolovsky | 2014-01-15 |
| | | | |||
* | | | Merge branch 'builtins' of github.com:chipaca/micropython into chipaca-builtins | Damien George | 2014-01-15 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Added some checks for number of arguments. Conflicts: py/mpqstrraw.h | ||
| * | | | added filter() | John R. Lenton | 2014-01-15 |
| | | | | |||
| * | | | Added map | John R. Lenton | 2014-01-15 |
| | | | | |||
| * | | | Merge remote-tracking branch 'upstream/master' into builtins | John R. Lenton | 2014-01-14 |
| |\| | | |||
| * | | | added enumerate() | John R. Lenton | 2014-01-14 |
| | | | | |||
* | | | | Implement eval. | Damien George | 2014-01-15 |
| | | | | |||
* | | | | Implement repr. | Damien George | 2014-01-15 |
| |/ / |/| | | |||
* | | | Merge pull request #161 from pfalcon/exc-more-pythonic | Damien George | 2014-01-14 |
|\ \ \ | | | | | | | | | Move towards Python-compliant interface of exceptions | ||
| * | | | Refactor exception objects to have better impl of Python-side interface. | Paul Sokolovsky | 2014-01-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements internal args tuple of arguments, while still keeping object useful for reporting C-side errors. Further elaboration is needed. | ||
* | | | | Merge pull request #142 from chipaca/containment | Damien George | 2014-01-14 |
|\ \ \ \ | |_|/ / |/| | | | Implemented support for `in` and `not in` operators. | ||
| * | | | Merge remote-tracking branch 'upstream/master' into containment | John R. Lenton | 2014-01-13 |
| |\| | | |||
| * | | | Implemented support for `in` and `not in` operators. | John R. Lenton | 2014-01-11 |
| | | | | |||
* | | | | Merge pull request #165 from chipaca/builtins | Damien George | 2014-01-14 |
|\ \ \ \ | | | | | | | | | | | added zip() | ||
| * | | | | sorted | John R. Lenton | 2014-01-13 |
| | | | | | |||
| * | | | | added zip() | John R. Lenton | 2014-01-13 |
| | |/ / | |/| | | |||
* / | | | Implement "is" and "is not" operators. | Paul Sokolovsky | 2014-01-15 |
|/ / / | | | | | | | | | | So far, don't work for strings as expected. | ||
* | | | Merge pull request #162 from chipaca/str_find | Damien George | 2014-01-12 |
|\ \ \ | | | | | | | | | Implement a basic str.find; fixes #67 | ||
| * | | | Implement a basic str.find; fixes #67 | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Merge pull request #160 from pfalcon/elaborate-int | Damien George | 2014-01-12 |
|\ \ \ \ | | | | | | | | | | | Elaborate small-int/long-int | ||
| * | | | | Add proper checks for fits-in-small-int. Make it reusable. | Paul Sokolovsky | 2014-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. | ||
* | | | | oops, nasty off-by-one in set_copy | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set binary ops. | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set.update | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set.remove | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set.isdisjoint | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set.intersection and set.intersection_update | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set.difference and set.difference_update | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set.discard | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set.copy | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set.clear | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | Implemented set.add | John R. Lenton | 2014-01-12 |
| | | | | |||
* | | | | make sets iterable | John R. Lenton | 2014-01-12 |
|/ / / | |||
* | / | list: Implement comparison operators. | Paul Sokolovsky | 2014-01-12 |
| |/ |/| | |||
* | | list: Add extend() methods and += operator. | Paul Sokolovsky | 2014-01-12 |
|/ | |||
* | Merge pull request #136 from pfalcon/for-range-downto | Damien George | 2014-01-10 |
|\ | | | | | compile_for_stmt_optimised_range(): Properly handle negative & unknown s... | ||
| * | compile_for_stmt_optimised_range(): Properly handle negative & unknown steps. | Paul Sokolovsky | 2014-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). |