877 Commits (75012cfd6ec68d229523620f827a658ca3c6afd3)

Author SHA1 Message Date
Damien George 451ded8d7b tests/basics: Add exp file for builtin_str_hex test. 2 years ago
Jim Mussared 2c8dab7ab4 py/objarray: Detect bytearray(str) without an encoding. 2 years ago
Jim Mussared 9d6f474ea4 py/objstr: Don't treat bytes as unicode in str.count. 2 years ago
Jim Mussared 15d0615d5c py/objmodule: Add support for __dict__. 2 years ago
Jim Mussared 6da41b5900 py/obj: Merge getiter and iternext mp_obj_type_t slots. 2 years ago
Jim Mussared f694058f2b tests/extmod/ubinascii: Add tests for bytes.hex etc. 3 years ago
Andrew Leech f7f56d4285 py/objstr: Consolidate methods for str/bytes/bytearray/array. 2 years ago
David Lechner 6baeded322 py/runtime: Fix crash in star arg unpacking. 2 years ago
Lars Haulin 5bf3765631 py/objnamedtuple: Fix segfault with empty namedtuple. 2 years ago
Damien George 268ec1e3eb tests/basics: Add tests for __name__ and __globals__ attrs on closures. 2 years ago
Damien George 1d143cec63 tests/basics: Add .exp file for sys.tracebacklimit test. 2 years ago
Damien George a8492253c1 tests/basics: Unlock heap if skipping nanbox small-int test. 3 years ago
Damien George 8aa254c369 tests: Fix tests to use sys.implementation._mpy. 3 years ago
Damien George 590de399f0 py/emitcommon: Don't implicitly close class vars that are assigned to. 3 years ago
Jon Bjarni Bjarnason 1ded8a2977 py/objtype: Convert result of user __contains__ method to bool. 3 years ago
Damien George 1dbf393962 tests/basics/fun_callstardblstar: Add test for large arg allocation. 3 years ago
David Lechner 47685180f0 tests/basics/fun_callstardblstar: Add coverage test. 3 years ago
David Lechner 783b1a868f py/runtime: Allow multiple *args in a function call. 5 years ago
David Lechner 1e99d29f36 py/runtime: Allow multiple **args in a function call. 5 years ago
Damien George cac939ddc3 py/modsys: Add optional sys.tracebacklimit attribute. 3 years ago
Damien George 7cd166ff92 tests/basics: Add test for creating small-ints in nan-box builds. 3 years ago
Jeff Epler 037b2c72a1 py/objstr: Support '{:08}'.format("Jan") like Python 3.10. 3 years ago
Damien George aac5a97d08 ports: Move '.frozen' to second entry in sys.path. 3 years ago
Damien George c768704cfd tests/basics/int_big_cmp.py: Add more tests for big-int comparison. 3 years ago
Damien George 2c139bbf4e py/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive. 3 years ago
Damien George 11ed94797d py/lexer: Support nested [] and {} characters within f-string params. 3 years ago
Mike Wadsten c3c2c37fbc tests/basics: Add tests for type-checking subclassed exc instances. 5 years ago
Damien George 8c4ba575fd tests/basics: Split f-string debug printing to separate file with .exp. 3 years ago
Jim Mussared 692d36d779 py: Implement partial PEP-498 (f-string) support. 3 years ago
Jim Mussared 4e39ff221a py/runtime: Fix bool unary op for subclasses of native types. 5 years ago
Damien George bb00125aaa py: Support single argument to optimised MP_OBJ_STOP_ITERATION. 3 years ago
Damien George e3825e28e6 py/objexcept: Make mp_obj_exception_get_value support subclassed excs. 3 years ago
David Lechner 58e4d72338 py/objexcept: Pretty print OSError also when it has 2 arguments. 5 years ago
Damien George 025e4b6fbc tests/basics: Split out literal tests that raise SyntaxWarning on CPy. 3 years ago
Jeff Epler f2dbc91022 py/compile: Raise an error on async with/for outside an async function. 5 years ago
Damien George 6d2680fa36 py/objarray: Fix constructing a memoryview from a memoryview. 4 years ago
stijn 09be0c083c py/objarray: Implement more/less comparisons for array. 4 years ago
stijn 57365d8557 py/objarray: Prohibit comparison of mismatching types. 4 years ago
Damien George 3c4bfd1dec py/objexcept: Support errno attribute on OSError exceptions. 4 years ago
Damien George 0a59938574 py/mpz: Fix overflow of borrow in mpn_div. 4 years ago
Damien George 925bd67cfb py/objfun: Support fun.__globals__ attribute. 4 years ago
Damien George 1fef5662ab py/mpz: Do sign extension in mpz_as_bytes for negative values. 4 years ago
Jim Mussared b137d064e9 py/objtype: Handle __dict__ attribute when type has no locals. 4 years ago
Damien George 9123b67d64 tests/run-tests: Use -BS flags when running CPython. 4 years ago
Damien George 42342fa3cb tests/basics: Add test for MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS ops. 4 years ago
Damien George c410a86814 tests/basics: Enable == and != special-method tests now that they work. 4 years ago
stijn 40ad8f1666 all: Rename "sys" module to "usys". 4 years ago
Damien George 5f9b105244 py/runtime: Fix builtin compile() in "single" mode so it prints exprs. 4 years ago
Jonathan Hogg 37e1b5c891 py/compile: Don't await __aiter__ special method in async-for. 4 years ago
Damien George a853fff838 py/obj.h: Fix mp_seq_replace_slice_no_grow to use memmove not memcpy. 4 years ago