425 Commits (0ab3fc3805282cc733bdf7a5970ec37e3160beee)

Author SHA1 Message Date
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
Damien George 9a21d2e070 py: Make mpz able to use 16 bits per digit; and 32 on 64-bit arch. 10 years ago
Damien George 02d95d7ce9 py: Fix 2 bugs in native emitter: jump_or_pop and stack settling. 10 years ago
Dave Hylands b7f7c655ed Make int(b'123') work properly. 10 years ago
Damien George 779794a680 py: Add dispatch for user defined ==, >, <=, >=. 10 years ago
Damien George 7310fd469a py: Consolidate min/max functions into one, and add key= argument. 10 years ago
Damien George 9b7a8ee8f1 py: Fix mult by negative number of tuple, list, str, bytes. 10 years ago
Damien George bb91f1195a py: Improve range: add len, subscr, proper print. 10 years ago
Damien George 4c03b3a899 py: Implement builtin reversed() function. 10 years ago
Paul Sokolovsky 9749b2fb0d objstr: Make sure that bytes are indexed as bytes, not as unicode. 10 years ago
Paul Sokolovsky 5f930337bc objarray: Implement equality testing between arrays and other buffers. 10 years ago
Damien George 539681fffd tests: Rename test scripts, changing - to _ for consistency. 10 years ago
Damien George 0182385ab0 py: Automatically ake __new__ a staticmethod. 10 years ago