aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-01-15Implement eval.Damien George
2014-01-15Implement repr.Damien George
2014-01-14Merge pull request #161 from pfalcon/exc-more-pythonicDamien George
Move towards Python-compliant interface of exceptions
2014-01-14Merge pull request #142 from chipaca/containmentDamien George
Implemented support for `in` and `not in` operators.
2014-01-14Merge pull request #165 from chipaca/builtinsDamien George
added zip()
2014-01-15Implement "is" and "is not" operators.Paul Sokolovsky
So far, don't work for strings as expected.
2014-01-15Refactor exception objects to have better impl of Python-side interface.Paul Sokolovsky
This implements internal args tuple of arguments, while still keeping object useful for reporting C-side errors. Further elaboration is needed.
2014-01-13sortedJohn R. Lenton
2014-01-13added zip()John R. Lenton
2014-01-13Merge remote-tracking branch 'upstream/master' into containmentJohn R. Lenton
2014-01-12Merge pull request #162 from chipaca/str_findDamien George
Implement a basic str.find; fixes #67
2014-01-12Merge pull request #160 from pfalcon/elaborate-intDamien George
Elaborate small-int/long-int
2014-01-12oops, nasty off-by-one in set_copyJohn R. Lenton
2014-01-12Implemented set binary ops.John R. Lenton
2014-01-12Implement a basic str.find; fixes #67John R. Lenton
2014-01-12Add proper checks for fits-in-small-int. Make it reusable.Paul Sokolovsky
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.
2014-01-12Implemented set.updateJohn R. Lenton
2014-01-12Implemented set.removeJohn R. Lenton
2014-01-12Implemented set.isdisjointJohn R. Lenton
2014-01-12Implemented set.intersection and set.intersection_updateJohn R. Lenton
2014-01-12Implemented set.difference and set.difference_updateJohn R. Lenton
2014-01-12Implemented set.discardJohn R. Lenton
2014-01-12Implemented set.copyJohn R. Lenton
2014-01-12Implemented set.clearJohn R. Lenton
2014-01-12Implemented set.addJohn R. Lenton
2014-01-12make sets iterableJohn R. Lenton
2014-01-12list: Implement comparison operators.Paul Sokolovsky
2014-01-12list: Add extend() methods and += operator.Paul Sokolovsky
2014-01-11Implemented support for `in` and `not in` operators.John R. Lenton
2014-01-10Merge pull request #136 from pfalcon/for-range-downtoDamien George
compile_for_stmt_optimised_range(): Properly handle negative & unknown s...
2014-01-10Merge pull request #135 from pfalcon/simple-raiseDamien George
Crude attempt to implement RAISE_VARARGS (with args=1 so far only).
2014-01-10Merge pull request #134 from pfalcon/list-mulDamien George
list: Implement list multiplication.
2014-01-11compile_for_stmt_optimised_range(): Properly handle negative & unknown steps.Paul Sokolovsky
If step is not constant, in first approximation, we can't apply optimization, (well, we could, but need a special case for this).
2014-01-11Crude attempt to implement RAISE_VARARGS (with args=1 so far only).Paul Sokolovsky
2014-01-11list: Implement list multiplication.Paul Sokolovsky
2014-01-10Added dict.fromkeys. Are we done with dict and #99 yet? I do think we are.John R. Lenton
2014-01-10dict views now, refactoring later.John R. Lenton
2014-01-09Merge pull request #121 from pfalcon/count-testcasesDamien George
Count individual testcases when running tests.
2014-01-09py: Implement base class lookup, issubclass, isinstance.Damien George
2014-01-09Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr.Damien George
Creating of classes (types) and instances is much more like CPython now. You can use "type('name', (), {...})" to create classes.
2014-01-08Count individual testcases when running tests.Paul Sokolovsky
The idea is simple: each print represents a testcase within a test unit. As we don't have strict rules on which/how many testcase are put into a test file, it's nice to have an idea how many *testcases* we have totally. Would be nice to count how many testcases pass/fail, but that's a bit less trivial.
2014-01-08Add string comparison tests.Paul Sokolovsky
Use computed string to exercise string interning code better.
2014-01-07Merge remote-tracking branch 'upstream/master' into dict_featsJohn R. Lenton
2014-01-07forgot to add test for dict.updateJohn R. Lenton
2014-01-07Added dict.setdefaultJohn R. Lenton
2014-01-07Added dict.popitemJohn R. Lenton
2014-01-07implemented dict.popJohn R. Lenton
2014-01-07Added dict.get.John R. Lenton
2014-01-07Added dict.copyJohn R. Lenton
2014-01-07Added dict.clear.John R. Lenton
Added 0 to the list of primes. Funky primes, these.