905 Commits (7ad84e0422a521fe97ce5d742df280c6b8a3ff87)

Author SHA1 Message Date
Damien George 516385c4cc py/objboundmeth: Optimise check for types in binary_op. 1 year ago
Ned Konz 66c62353ce tests/basics/boundmeth1.py: Add tests for bound method equality/hash. 1 year ago
Matthias Urlichs 3fb1bb131f py/vm: Don't emit warning when using "raise ... from None". 1 year ago
Daniël van de Giessen d1f288c041 py/modstruct: Support pad bytes in struct format. 2 years ago
mcskatkat e0a1480600 py/objstr: Fix `str % {}` edge case. 1 year ago
Damien George 606ec9bfb1 py/compile: Fix async for's stack handling of iterator expression. 1 year ago
Jared Hancock b3cd41dd4b py/lexer: Allow conversion specifiers in f-strings (e.g. !r). 2 years ago
Jim Mussared 4216bc7d13 tests: Replace umodule with module everywhere. 2 years ago
Damien George 69dd013919 py/objint: Allow int() to parse anything with the buffer protocol. 1 year ago
Damien George 66dc1397c9 py/obj: Accept user types in mp_obj_get_int_maybe. 1 year ago
Damien George 48ffd6596e py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE. 1 year ago
Damien George 3ae78e803b tests/basics: Remove __index__ and __inv__ from special methods tests. 1 year ago
Damien George ea7031faff py/runtime: If inplace binop fails then try corresponding normal binop. 2 years ago
Damien George 4b57330465 py/objstr: Return unsupported binop instead of raising TypeError. 2 years ago
Damien George ca9068e0ef py/objarray: Disallow memoryview addition. 2 years ago
Damien George 9accb7dd44 tests/basics: Add more tests for hashing of various types. 1 year ago
David Lechner 2fe6d4eb86 py/objdict: Fix __hash__ for dict_view types. 2 years ago
David Lechner 8491eb190f py/objslice: Ensure slice is not hashable. 2 years ago
Damien George 1b980c9dbe py/compile: Remove over-eager optimisation of tuples as if condition. 2 years ago
Damien George b1229efbd1 all: Fix spelling mistakes based on codespell check. 2 years ago
Damien George 7c1584aef1 py/compile: Fix scope of assignment expression target in comprehensions. 2 years ago
Damien George d387ae3444 py/objint_mpz: Catch and reject @ and @= operating on big integers. 2 years ago
Jim Mussared fb8792c095 py/lexer: Wrap in parenthesis all f-string arguments passed to format. 2 years ago
Andrew Leech 5c4153ea37 py/objarray: Raise error on out-of-bound memoryview slice start. 2 years ago
Damien George 910f579403 py/emitnative: Initialise locals as Python object type for native code. 2 years ago
Laurens Valk 632d43ed44 py/mpconfig: Include micropython module in core features. 2 years ago
David Lechner d5181034f2 py/bc: Fix checking for duplicate **kwargs. 2 years ago
Rayane Chatrieux f3e4c505d1 py/objdict: Implement dictionary union (PEP 584). 3 years ago
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. 2 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