637 Commits (12d0731b91d8e58ba20ec28adf2d6c1aa995d74a)

Author SHA1 Message Date
Damien George f6532bb9e0 py: Simplify and remove redundant code for __iter__ method lookup. 10 years ago
stijn c1832fd206 py: Add setattr builtin. 10 years ago
Damien George 48244044a2 py: Allow subclass of native object to delegate to the native buffer_p. 10 years ago
Paul Sokolovsky 194117a066 objstr: Fix bytes creation from array of long ints. 10 years ago
Damien George 7d414a1b52 py: Parse big-int/float/imag constants directly in parser. 10 years ago
Damien George 744e767458 py: Make list.sort keep stack usage within O(log(N)) bound. 10 years ago
Damien George 32bade19d9 py: Convert CR to LF and CR LF to LF in lexer. 10 years ago
Damien George 92ab95f215 tests: Add some tests to improve coverage. 10 years ago
Damien George 12c66be2b8 tests: Add some tests to improve coverage. 10 years ago
Paul Sokolovsky 57aebe1714 tests: Add testcase for bytes() on values in range 128-255. 10 years ago
Damien George a9dc9b8f6d py: Fix comparison of minus-zero long int. 10 years ago
Damien George 962a5d50c9 py: Implement __reversed__ slot. 10 years ago
Damien George 1e1779eacf py: Reluctantly add an extra pass to bytecode compiler. 10 years ago
Damien George 4c81ba8015 py: Never intern data of large string/bytes object; add relevant tests. 10 years ago
Damien George c38dc3ccc7 py: Implement fallback for equality check for all types. 10 years ago
Damien George c33ecb83ba tests: Add test for when instance member overrides class member. 10 years ago
Damien George 19b3fea6a8 tests: Separate out test cases that rely on float support to float/ dir. 10 years ago
Paul Sokolovsky 343ca1e63a objarray: Make sure that longint works as bytearray size. 10 years ago
Paul Sokolovsky c114496641 objstr: Implement kwargs support for str.format(). 10 years ago
stijn 021dc44009 py: Allow keyword arguments for namedtuple 10 years ago
stijn 12340147b0 py: Use sequence of strings for named tuple initialization 10 years ago
Damien George e0ac194f4f py: Fix rshift and not of zero/one edge cases in mpz. 10 years ago
Damien George c55a4d82cf py: Make bytes objs work with more str methods; add tests. 10 years ago
Damien George e181c0dc07 py: Fix optimised for-loop compiler so it follows proper semantics. 10 years ago
Damien George 5fba93a26b tests: Add test for semantics of for-loop that optimisation can break. 10 years ago
Damien George 78d702c300 py: Allow builtins to be overridden. 10 years ago
Damien George be6d8be91e py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 10 years ago
Damien George 32ef3a3517 py: Allow bytes/bytearray/array to be init'd by buffer protocol objects. 10 years ago
Damien George b2e731177e py: Implement +, += and .extend for bytearray and array objs. 10 years ago
Damien George 7288403b9b tests: Split out float test from builtin_round.py. 10 years ago
Damien George 4df85e49d4 tests: Add test for hash of user defined class. 10 years ago
Damien George a65c03c6c0 py: Allow +, in, and compare ops between bytes and bytearray/array. 10 years ago
Damien George 0344fa1ddf py: Fix builtin callable so it checks user-defined instances correctly. 10 years ago
Paul Sokolovsky 039887a0ac py: Fix bug with right-shifting small ints by large amounts. 10 years ago
Damien George 1559a97810 py: Add builtin round function. 10 years ago
Paul Sokolovsky e62a0fe367 objstr: Allow to convert any buffer proto object to str. 10 years ago
Damien George b2f19b8d34 tests: Get builtin_compile to skin properly on pyboard. 10 years ago
Damien George de3c806965 py: Fix memoryview referencing so it retains ptr to original buffer. 10 years ago
Damien George 627852019b tests: Add test for compile builtin. 10 years ago
Damien George dd4f4530ab py: Add builtin memoryview object (mostly using array code). 10 years ago
Damien George e72be1b999 py: Fix smallint modulo with negative arguments. 10 years ago
Damien George e7a478204a py: Remove unused and unneeded SystemError exception. 10 years ago
Damien George 391db8669b py: Add more compiler optimisations for constant if/while conditions. 10 years ago
Damien George 9870fdd4b0 tests: Add test for nested while with exc and break. 10 years ago
Paul Sokolovsky 067ae1269d objclosure: Fix printing of generator closures. 10 years ago
Damien George a91ac2011f py: Make compiler return a proper exception on SyntaxError. 10 years ago
Damien George 8b03d944e2 py: Remove IOError since it's deprecated; use OSError instead. 10 years ago
Damien George 2234c3f23d tests: Add test for exception matching of a tuple of exceptions. 10 years ago
Damien George d6230f62c7 py: Make native emitter handle multi-compare and not/is not/not in ops. 10 years ago
Damien George 96e20c600f tests: Fix uctypes tests to run on 64bit arch; enable more native tests. 10 years ago