summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-01-19Move tests in basic/tests/ up one level preparating to multiple test dirs.Paul Sokolovsky
2014-01-19Tiny optimisation in objlist.c; a new test for inheritance.Damien George
2014-01-18Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-18Improve method lookup in mp_obj_class_lookup.Damien George
Now searches both locals_dict and methods. Partly addresses Issue #145.
2014-01-18Add testcase for subclassing builtin type and calling native method (broken).Paul Sokolovsky
2014-01-18Implement 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-16Add empty (false) value testing for strings, tuples, lists, dicts.Paul Sokolovsky
2014-01-16str.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-15Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2intDamien George
Conflicts: py/objint.c unix-cpy/Makefile unix/Makefile
2014-01-15Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-reprDamien George
Conflicts: tests/basics/tests/exception1.py
2014-01-15Merge branch 'builtins' of github.com:chipaca/micropython into chipaca-builtinsDamien George
Added some checks for number of arguments. Conflicts: py/mpqstrraw.h
2014-01-15Implement eval.Damien George
2014-01-15Implement repr.Damien George
2014-01-15add more tests and remove debug codexyb
2014-01-15int() test passedxyb
2014-01-15added filter()John R. Lenton
2014-01-15Added mapJohn R. Lenton
2014-01-15type->print(): Distinguish str() and repr() variety by passing extra param.Paul Sokolovsky
2014-01-14Merge remote-tracking branch 'upstream/master' into builtinsJohn R. Lenton
2014-01-14added enumerate()John R. Lenton
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-14Implemented int(str) in UNIXxyb
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).