3000 Commits (9e0cdb22f1a549d5e542418a3007c756cd594b84)

Author SHA1 Message Date
chrismas9 3289b9b7a7 py/{mkenv.mk,mkrules.mk}: Append .exe for Windows executable files. 7 years ago
Damien George 1394258f37 py/objset: Include the failed key in a KeyError raised from set.remove. 7 years ago
Damien George 2ac1364688 py/objset: Check that RHS of a binary op is a set/frozenset. 7 years ago
Damien George 01978648fd py/objset: Simplify set and frozenset by separating their locals dicts. 7 years ago
Damien George bdc6e86e07 py/objfloat: Support raising a negative number to a fractional power. 7 years ago
David Lechner 62849b7010 py: Add config option to print warnings/errors to stderr. 7 years ago
Paul Sokolovsky 9d836fedbd py: Clarify which mp_unary_op_t's may appear in the bytecode. 7 years ago
Anton Patrushev f008263022 py/persistentcode: Define mp_raw_code_save_file() for any unix target. 7 years ago
Damien George 8edc2e4b14 py/runtime0: Add comments about unary/binary-op enums used in bytecode. 7 years ago
Damien George e2ba45c35f py/vm: Use lowercase letter at start of exception message. 7 years ago
Damien George ede8a0235b py/vstr: Raise a RuntimeError if fixed vstr buffer overflows. 7 years ago
Damien George 7885a425d7 py/stream: Remove unnecessary checks for NULL return from vstr_add_len. 7 years ago
Damien George 96fd80db13 py/objexcept: Prevent infinite recursion when allocating exceptions. 7 years ago
Paul Sokolovsky fc9a6dd09e py/objstr: strip: Don't strip "\0" by default. 7 years ago
Damien George 44f0a4d1e7 py/mpconfig.h: Add note that using computed gotos in VM is not C99. 7 years ago
Damien George fdb2aa81b7 py/{objfloat,objcomplex}: Optimise MP_UNARY_OP_ABS by reusing variables. 7 years ago
Paul Sokolovsky 9dce823cfd py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 7 years ago
Damien George 280fb4d928 py/emitbc: Remove stray semicolon in outer scope. 7 years ago
Damien George 89f657f073 py/runtime.h: Change empty mp_warning macro so var-args are non empty. 7 years ago
Damien George da8c4c2653 py/builtinhelp: Change signature of help text var from pointer to array. 7 years ago
ASM 52620c6b0e py/nlrx86: Fix building for Android/x86. 7 years ago
Paul Sokolovsky eb84a830df py/runtime: Implement dispatch for "reverse op" special methods. 7 years ago
Paul Sokolovsky 9355cca610 esp8266: Set DEFPSIZE=1024, MINCACHE=3 for "btree" module. 7 years ago
Damien George e6fbee0981 py/builtinhelp: Simplify code slightly by extracting object type. 7 years ago
Paul Sokolovsky b8ee7ab5b9 py/runtime0.h: Put inplace arith ops in front of normal operations. 7 years ago
Paul Sokolovsky c460f6f15a py/runtime0.h: Regroup operations a bit. 7 years ago
Paul Sokolovsky 6d4cac088e py/objtype: Make sure mp_binary_op_method_name has full size again. 7 years ago
Paul Sokolovsky 50b9329eba py/runtime0.h: Move MP_BINARY_OP_DIVMOD to the end of mp_binary_op_t. 7 years ago
Paul Sokolovsky d4d1c45a55 py/runtime0.h: Move relational ops to the beginning of mp_binary_op_t. 7 years ago
Paul Sokolovsky 5c603bd0fd py/objlist: Properly implement comparison with incompatible types. 7 years ago
tll 68c28174d0 py/objstr: Add check for valid UTF-8 when making a str from bytes. 7 years ago
Damien George 4a93801c12 all: Update Makefiles and others to build with new ports/ dir layout. 7 years ago
Paul Sokolovsky 1aaba5cabe py/objtuple: Properly implement comparison with incompatible types. 7 years ago
Paul Sokolovsky 60749e57f2 py/objtype: Implement fallback for instance inplace special methods. 7 years ago
Damien George 77a48e8cd4 py/obj: Remove declaration for mp_obj_new_none(), it's never defined. 7 years ago
Damien George d4b75f6b68 py/obj: Fix comparison of float/complex NaN with itself. 7 years ago
Paul Sokolovsky 9950865c39 py/objfloat: Fix binary ops with incompatible objects. 7 years ago
Damien George dd376a239d py/nlrthumb: Get working again on standard Thumb arch (ie not Thumb2). 7 years ago
Damien George 860eeeea9b py/qstrdefs: Remove unused qstrs. 7 years ago
Damien George 2daacc5cee py/modstruct: Check and prevent buffer-write overflow in struct packing. 7 years ago
Damien George 79d5acbd01 py/modstruct: Check and prevent buffer-read overflow in struct unpacking 7 years ago
Damien George 793d826d9d py/modstruct: In struct.pack, stop converting if there are no args left. 7 years ago
Damien George ca21aed0a1 py: Make m_malloc_fail() have void return type, since it doesn't return. 7 years ago
Damien George 6c9fca2aa9 py/map: Remove unused new/free functions. 7 years ago
Damien George 0e420d48ee py/map: Replace always-false condition with assertion. 7 years ago
Paul Sokolovsky 4556bd2acd py/objtype: mp_obj_class_lookup: Improve debug logging. 7 years ago
Paul Sokolovsky df6605eaba py/objtype: mp_obj_instance_make_new: Fix typos in comment. 7 years ago
Damien George 0102ee092b py: Change obsolete "///" comment formatting to normal comments. 7 years ago
Paul Sokolovsky 784909ce16 py/objtype: Handle NotImplemented return from binary special methods. 7 years ago
Damien George 58321dd985 all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago