905 Commits (7ad84e0422a521fe97ce5d742df280c6b8a3ff87)

Author SHA1 Message Date
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
Damien George 895b1dbdda tests/basics: Split out memoryview slice-assign tests to separate file. 4 years ago
Damien George 332d83343f py: Rework mp_convert_member_lookup to properly handle built-ins. 4 years ago
Damien George 457fdf61c3 py/objtype: Support passing in an OrderedDict to type() as the locals. 4 years ago
Damien George a51eef4471 tests/basics: Add tests for variable annotations. 4 years ago
Damien George e0fe8ea644 tests/basics: Add tests for assignment operator :=. 4 years ago
Andrew Leech 28370c0450 py/objtype: Add __dict__ attribute for class objects. 4 years ago
Damien George 203b10703e py/modbuiltins: Fix getattr to work with class raising AttributeError. 5 years ago
Damien George 4ede703687 py/parse: Support constant folding of power operator for integers. 5 years ago
Jim Mussared 57fce3bdb2 py/objdict: Fix popitem for ordered dicts. 5 years ago
David Lechner 688323307a tests/basics/dict_pop.py: Remove extra comma in call and fix grammar. 5 years ago
Andrew Leech ed93778e00 py/objstringio: Expose tell() on StringIO and BytesIO objects. 5 years ago
Damien George 1993c8cf9a py/builtinevex: Support passing in a bytearray/buffer to eval/exec. 5 years ago
Jim Mussared 54db464a1b tests/basics/array1.py: Add equality testing for array. 5 years ago
Jim Mussared 3ccce89b83 py/objarray: Turn on MP_TYPE_FLAG_EQ_CHECKS_OTHER_TYPE for memoryview. 5 years ago
Damien George 819380c964 tests/basics: Add test for tuple compare with class derived from tuple. 5 years ago
Damien George 6a3ca96fe5 tests/basics: Add test for equality between tuple and namedtuple. 5 years ago
Damien George 27465e6b24 tests/basics: Add tests for equality between bool and int/float/complex. 5 years ago
Petr Viktorin dbed8f576d tests/basics: Move test for "return" outside function to own file. 5 years ago
Damien George 69b415f745 tests: Move CPy diff test to real test now that subclass equality works. 5 years ago
Nicko van Someren c96a2f636b tests/basics: Expand test cases for equality of subclasses. 5 years ago
Nicko van Someren 3aab54bf43 py: Support non-boolean results for equality and inequality tests. 5 years ago
Jim Mussared 1f4b607116 tests: Add tests for generator throw and yield-from with exc handlers. 5 years ago