472 Commits (5cd34aca27a9f2847a0441eac16fb8940a2a0fab)

Author SHA1 Message Date
Damien George 7bab32ef89 tests: Add further tests for class defining __hash__. 10 years ago
Damien George c2a4e4effc py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. 10 years ago
Paul Sokolovsky 6738c1dded vm: Properly handle StopIteration raised in user instance iterator. 10 years ago
Paul Sokolovsky 4ed7b7f751 py: iternext() may not return MP_OBJ_NULL, only MP_OBJ_STOP_ITERATION. 10 years ago
Damien George 9a42eb541e py: Fix naming of function arguments when function is a closure. 10 years ago
Paul Sokolovsky 37c6555b44 obj: Handle user instance hash based on Python adhoc rules. 10 years ago
Paul Sokolovsky 3d3ef36e97 modstruct: Rename module to "ustruct", to allow full Python-level impl. 10 years ago
Damien George 47b9809d23 py: Check that arg to object.__new__ is a user-defined type. 10 years ago
Damien George 271d18eb08 py: Support conversion of bignum to bytes. 10 years ago
Damien George 1f9e2188a6 tests: Add tests for attrtuple, and for more corner cases. 10 years ago
Damien George d8cbbcaa9d py: Fix builtin ord so that it can handle bytes values >= 0x80. 10 years ago
Damien George 90aa7595b4 tests: Convert line endings in fun_name.py from CRLF to LF. 10 years ago
Paul Sokolovsky 56beb01724 objarray: Support assignment of bytes to bytearray slice. 10 years ago
Paul Sokolovsky 8b7faa31e1 objstr: split(None): Fix whitespace properly. 10 years ago
Damien George e5c4362a98 tests: Add some more tests to improve code coverage of corner cases. 10 years ago
Damien George 97abe22963 tests: Add tests to exercise lexer; and some more complex number tests. 10 years ago
Damien George 9dd3640464 tests: Add missing tests for builtins, and many other things. 10 years ago
Paul Sokolovsky 620058cc57 tests: Add test for str.splitlines(). 10 years ago
Paul Sokolovsky ad038ca101 tests/class_descriptor.py: Fix line-endings (were CRLF). 10 years ago
stijn 28fa84b445 py: Add optional support for descriptors' __get__ and __set__ methods. 10 years ago
Damien George 23d7fd526d tests: Skip some new tests when testing native emitter. 10 years ago
Damien George 214179b430 tests: Add tests for SyntaxError, TypeError, and other missing things. 10 years ago
stijn 3cc17c69ff py: Allow retrieving a function's __name__. 10 years ago
Paul Sokolovsky d48035b06b tests: Add basic test for OrderedDict. 10 years ago
Damien George 6837d46c1d py: Fix builtin abs so it works for bools and bignum. 10 years ago
Damien George 26a9975fba tests: Add some more tests for bytes, bignum, string and ujson. 10 years ago
Damien George af43565322 tests: Add tests for things that are not already tested. 10 years ago
Peter D. Gray b2a237d337 py: Add support for start/stop/step attributes of builtin range object. 10 years ago
Damien George 086a7616dd tests: Add tests for boundmeth; and bignum cmp, unary, float, error. 10 years ago
Damien George f2a889564b tests: Add basics test for gc module. 10 years ago
Damien George fe3da09fa0 tests: Use range as iterable instead of list comprehension. 10 years ago
Damien George 24ffb8e876 tests: Add tests for builtins: all, any, sum, abs. 10 years ago
Damien George 2af921fb51 tests: Add tests for op special meths, ubinascii, complex. 10 years ago
Paul Sokolovsky 992284be39 tests: Add test for array slice assignment. 10 years ago
Damien George ed8b4da0db tests: Remove obsolete test; don't use fp in micropython/ tests. 10 years ago
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