summaryrefslogtreecommitdiffstatshomepage
path: root/tests
Commit message (Collapse)AuthorAge
* Move tests in basic/tests/ up one level preparating to multiple test dirs.Paul Sokolovsky2014-01-19
|
* Tiny optimisation in objlist.c; a new test for inheritance.Damien George2014-01-19
|
* Merge branch 'master' of github.com:micropython/micropythonDamien George2014-01-18
|\
| * Add testcase for subclassing builtin type and calling native method (broken).Paul Sokolovsky2014-01-18
| |
* | Improve method lookup in mp_obj_class_lookup.Damien George2014-01-18
|/ | | | Now searches both locals_dict and methods. Partly addresses Issue #145.
* Implement framework for class-defined built-in operators.Damien George2014-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 Sokolovsky2014-01-16
|
* str.format: Don't assume that '}' immediately follows '{', skip insides.Paul Sokolovsky2014-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-str2intDamien George2014-01-15
|\ | | | | | | | | | | | | Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile
| * add more tests and remove debug codexyb2014-01-15
| |
| * int() test passedxyb2014-01-15
| |
| * Implemented int(str) in UNIXxyb2014-01-14
| |
* | Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-reprDamien George2014-01-15
|\ \ | | | | | | | | | | | | Conflicts: tests/basics/tests/exception1.py
| * | type->print(): Distinguish str() and repr() variety by passing extra param.Paul Sokolovsky2014-01-15
| | |
* | | Merge branch 'builtins' of github.com:chipaca/micropython into chipaca-builtinsDamien George2014-01-15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Added some checks for number of arguments. Conflicts: py/mpqstrraw.h
| * | | added filter()John R. Lenton2014-01-15
| | | |
| * | | Added mapJohn R. Lenton2014-01-15
| | | |
| * | | Merge remote-tracking branch 'upstream/master' into builtinsJohn R. Lenton2014-01-14
| |\| |
| * | | added enumerate()John R. Lenton2014-01-14
| | | |
* | | | Implement eval.Damien George2014-01-15
| | | |
* | | | Implement repr.Damien George2014-01-15
| |/ / |/| |
* | | Merge pull request #161 from pfalcon/exc-more-pythonicDamien George2014-01-14
|\ \ \ | | | | | | | | Move towards Python-compliant interface of exceptions
| * | | Refactor exception objects to have better impl of Python-side interface.Paul Sokolovsky2014-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/containmentDamien George2014-01-14
|\ \ \ \ | |_|/ / |/| | | Implemented support for `in` and `not in` operators.
| * | | Merge remote-tracking branch 'upstream/master' into containmentJohn R. Lenton2014-01-13
| |\| |
| * | | Implemented support for `in` and `not in` operators.John R. Lenton2014-01-11
| | | |
* | | | Merge pull request #165 from chipaca/builtinsDamien George2014-01-14
|\ \ \ \ | | | | | | | | | | added zip()
| * | | | sortedJohn R. Lenton2014-01-13
| | | | |
| * | | | added zip()John R. Lenton2014-01-13
| | |/ / | |/| |
* / | | Implement "is" and "is not" operators.Paul Sokolovsky2014-01-15
|/ / / | | | | | | | | | So far, don't work for strings as expected.
* | | 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 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.
* | | | 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
|/ / /
* | / list: Implement comparison operators.Paul Sokolovsky2014-01-12
| |/ |/|
* | list: Add extend() methods and += operator.Paul Sokolovsky2014-01-12
|/
* 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).