1402 Commits (0a30ad96c886aacf897b3e87cbdb24fb46c5c43d)

Author SHA1 Message Date
Damien George a3afa8cfc4 py/emitnative: Implement floor-division and modulo for viper emitter. 7 years ago
Damien George 08a196697c py/formatfloat: Don't print the negative sign of a NaN value. 7 years ago
Damien George 25e140652b py/modmath: Add full checks for math domain errors. 7 years ago
Paul Sokolovsky 71c1a05d88 tests/run-tests: Close device under test using "finally". 7 years ago
Damien George 98dd126e98 tests/extmod: Add test for '-' in character class in regex. 7 years ago
Damien George 0864a6957f py: Clean up unary and binary enum list to keep groups together. 7 years ago
Damien George dfa563c71f py/objstr: Make empty bytes object have a null-terminating byte. 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
Paul Sokolovsky 8e0b9f495b tests/extmod: Add test for ure regexes leading to infinite recursion. 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
Damien George ede8a0235b py/vstr: Raise a RuntimeError if fixed vstr buffer overflows. 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
Paul Sokolovsky 9dce823cfd py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 7 years ago
Paul Sokolovsky 75163325ae tests/cpydiff: Add cases for locals() discrepancies. 7 years ago
Paul Sokolovsky f54b3527f2 tests/run-tests: Fix copy-paste mistake in var name. 7 years ago
Paul Sokolovsky d1f909005a tests/run-tests: Skip class_inplace_op for minimal profile. 7 years ago
Paul Sokolovsky d6f9d64d97 tests/class_reverse_op: Test for reverse arith ops special methods. 7 years ago
Damien George 0708dd495f tests/run-bench-tests: Update locations of executables, now in ports/. 7 years ago
Paul Sokolovsky b8ee7ab5b9 py/runtime0.h: Put inplace arith ops in front of normal operations. 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 376618cd8a tests/class_inplace_op: Test for inplace op fallback to normal one. 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 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
Paul Sokolovsky b349479a49 tests/class_new: Add another testcase for __new__/__init__ interaction. 7 years ago
Paul Sokolovsky 35be9e805f tests/class_new: Add checks for __init__ being called and other improvements. 7 years ago
Paul Sokolovsky b565c36963 tests/object_new: Better messages, check user __new__() method. 7 years ago
Paul Sokolovsky 784909ce16 py/objtype: Handle NotImplemented return from binary special methods. 7 years ago
Paul Sokolovsky 37379a2974 py/objstr: startswith, endswith: Check arg to be a string. 7 years ago
Paul Sokolovsky e3383e9352 py/stream: seek: Consistently handle negative offset for SEEK_SET. 7 years ago
Alex Robbins c89254fd0f extmod/modubinascii: Rewrite mod_binascii_a2b_base64. 7 years ago
Damien George 025e5f2b33 py/binary: Change internal bytearray typecode from 0 to 1. 7 years ago
Eric Poulsen d5191edf7f extmod/modussl_mbedtls.c: Add ussl.getpeercert() method. 7 years ago
Bas van Sisseren a14ce77b28 py/binary.c: Fix bug when packing big-endian 'Q' values. 7 years ago
Paul Sokolovsky bfc2092dc5 py/modsys: Initial implementation of sys.getsizeof(). 7 years ago
Damien George 3d25d9c7d9 py/objstr: Raise an exception for wrong type on RHS of str binary op. 7 years ago
Damien George eb2784e8a2 py/objtuple: Allow to use inplace-multiplication operator on tuples. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 04552ff71b py: Implement raising a big-int to a negative power. 7 years ago