| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-09-30 | tests/basics: Add further tests for nonlocal scoping and closures. | Damien George | |
| 2016-09-28 | py/compile: Fix async-for/async-with to work with simpler exc on stack. | Damien George | |
| There is now just the exception instance on the stack when an exception is raised, not the full (type, exc, traceback). | |||
| 2016-09-28 | tests/basics: Add test for set.difference_update with arg being itself. | Damien George | |
| 2016-09-28 | py/objset: Ensure that use of frozenset.update raises an exception. | Damien George | |
| 2016-09-27 | tests/basics: Add test case for overflowing Py stack in try-finally. | Damien George | |
| 2016-09-19 | tests/array1: Add tests for "l", "L" array types to improve coverage. | Paul Sokolovsky | |
| 2016-09-19 | tests/struct1: Test "l" specifier to improve coverage. | Paul Sokolovsky | |
| 2016-09-16 | tests/basics: Add errno1 test, to check basics of uerrno module. | Damien George | |
| 2016-08-17 | tests/basics/special_methods: Enable tests for extra special methods. | Damien George | |
| These additional special methods are enabled on most ports so we can test them in this test. | |||
| 2016-08-17 | tests/basics: Add a test file for overriding special methods. | rguillon | |
| 2016-08-15 | py/sequence: Allow to use bignums as indices in slice objects. | Damien George | |
| See issue #2264. | |||
| 2016-08-15 | tests/basics: Add test for break from within try within a for-loop. | Damien George | |
| 2016-08-15 | tests/basics: Add more list tests to improve coverage testing. | Damien George | |
| 2016-08-15 | tests/basics: Add more tuple tests to improve coverage testing. | Damien George | |
| 2016-08-07 | tests/basics: bytes/str.partition/rpartition are now optional. | Paul Sokolovsky | |
| Skip tests if not available. | |||
| 2016-07-25 | py/objstrunicode: str_index_to_ptr: Should handle bytes too. | Paul Sokolovsky | |
| There's single str_index_to_ptr() function, called for both bytes and unicode objects, so should handle each properly. | |||
| 2016-07-22 | tests/bytes_compare: Rework test for bytes <-> str comparison. | Paul Sokolovsky | |
| This may produce a warning, depending on MicroPython configuration. | |||
| 2016-06-12 | tests: Add testcase for OrderedDict equality. | Mark Anthony Palomer | |
| There's a need for .exp file because CPython renders OrderedDict's as: OrderedDict([('b', 2)]) while MicroPython as: OrderedDict({'b': 2}) | |||
| 2016-05-28 | py/modstruct: Allow to have "0s" in struct format. | Damien George | |
| 2016-05-23 | py/objnamedtuple: Allow passing field names as a tuple. | Antonin ENFRUN | |
| So the documentation's example works. Besides, a tuple can be more memory efficient. | |||
| 2016-05-22 | tests: Add testcase for str.center(). | Paul Sokolovsky | |
| 2016-05-14 | tests/struct1: Add testcase for an unknown type char. | Paul Sokolovsky | |
| 2016-05-13 | tests/basics/string_splitlines: Reinstate feature test for splitlines. | Damien George | |
| 2016-05-13 | py/objstr: Make dedicated splitlines function, supporting diff newlines. | Damien George | |
| It now supports \n, \r and \r\n as newline separators. Adds 56 bytes to stmhal and 80 bytes to unix x86-64. Fixes issue #1689. | |||
| 2016-05-08 | py/mpz: Do Python style division/modulo within bignum divmod routine. | Damien George | |
| This patch consolidates the Python logic for division/modulo to one place within the bignum code. | |||
| 2016-05-08 | py/mpz: Fix bug with overflowing C-shift in division routine. | Damien George | |
| When DIG_SIZE=32, a uint32_t is used to store limbs, and no normalisation is needed because the MSB is already set, then there will be left and right shifts (in C) by 32 of a 32-bit variable, leading to undefined behaviour. This patch fixes this bug. | |||
| 2016-05-07 | tests: Disable memoryview tests that overflow int conversion. | Damien George | |
| They fail on builds with 32-bit word size. | |||
| 2016-05-07 | py/runtime: Properly handle passing user mappings to ** keyword args. | Damien George | |
| 2016-05-07 | py/objstr: Binary type of str/bytes for buffer protocol is 'B'. | Damien George | |
| The type is an unsigned 8-bit value, since bytes objects are exactly that. And it's also sensible for unicode strings to return unsigned values when accessed in a byte-wise manner (CPython does not allow this). | |||
| 2016-05-02 | tests: Update for _io/_collections module having been renamed. | Paul Sokolovsky | |
| 2016-04-28 | tests: Add testcase for yielding from a stopped generator. | Paul Sokolovsky | |
| 2016-04-21 | py: Fix bug passing a string as a keyword arg in a dict. | Damien George | |
| Addresses issue #1998. | |||
| 2016-04-15 | tests: Fix dict1.py so it doesn't rely on the order of dict elems. | Damien George | |
| 2016-04-13 | tests: Add .exp files for async tests, so they can run with Python 3.4. | Damien George | |
| 2016-04-13 | tests: Add 6 tests for async await/for/with. | Damien George | |
| 2016-04-07 | py/objarray: Fix array.append so it doesn't extend if append fails. | Damien George | |
| Addresses issue #1965. | |||
| 2016-03-15 | tests: Split large tests into smaller files, to run with a small heap. | Damien George | |
| All tests in basics/ directory can now run and pass using 64-bit unix port with only a 16k heap (./run-tests --heapsize 16k). Tests in this directory should remain small so they can be used for ports with a small heap. | |||
| 2016-03-14 | py/objarray: Fix array slice assignment when array is reallocated. | Damien George | |
| Addresses issue #1898. | |||
| 2016-03-06 | tests: Remove commented out tests so test script is not too big. | Damien George | |
| 2016-03-06 | tests: Reduce large object allocations so tests can run with small heap. | Damien George | |
| 2016-02-14 | tests/bytearray1: Add testcases for "in" operator. | Paul Sokolovsky | |
| 2016-02-03 | py/mpz: Complete implementation of mpz_{and,or,xor} for negative args. | Doug Currie | |
| For these 3 bitwise operations there are now fast functions for positive-only arguments, and general functions for arbitrary sign arguments (the fast functions are the existing implementation). By default the fast functions are not used (to save space) and instead the general functions are used for all operations. Enable MICROPY_OPT_MPZ_BITWISE to use the fast functions for positive arguments. | |||
| 2016-02-02 | py/objstr: For str.format, add nested/computed fields support. | pohmelie | |
| Eg: '{:{}}'.format(123, '>20') @pohmelie was the original author of this patch, but @dpgeorge made significant changes to reduce code size and improve efficiency. | |||
| 2016-02-01 | py/vm: Fix popping of exception block in UNWIND_JUMP opcode. | Damien George | |
| Fixes issue #1812. | |||
| 2016-01-19 | py: Add ustruct.pack_into and unpack_from | Dave Hylands | |
| 2016-01-14 | builtin property: accept keyword arguments | chrysn | |
| this allows python code to use property(lambda:..., doc=...) idiom. named versions for the fget, fset and fdel arguments are left out in the interest of saving space; they are rarely used and easy to enable when actually needed. a test case is included. | |||
| 2016-01-14 | tests: Remove builtin_dict test | stijn | |
| This is essentially a duplicate of obj_dict.py | |||
| 2016-01-04 | py/objstr: In str.format, handle case of no format spec for string arg. | Damien George | |
| Handles, eg, "{:>20}".format("foo"), where there is no explicit spec for the type of the argument. | |||
| 2016-01-03 | tests/object_dict.py: Add test for obj.__dict__ . | Paul Sokolovsky | |
| 2016-01-03 | py: Implement __dict__ for instances. | stijn | |
| Note that even though wrapped in MICROPY_CPYTHON_COMPAT, it is not fully compatible because the modifications to the dictionary do not propagate to the actual instance members. | |||
