| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-06-08 | tests/bench: Add testcase to compare bytes(N) vs b"\0" * N. | Paul Sokolovsky | |
| Based on python-dev discussion regarding PEP467. | |||
| 2016-06-06 | py/parse: Treat constants that start with underscore as private. | Damien George | |
| Assignments of the form "_id = const(value)" are treated as private (following a similar CPython convention) and code is no longer emitted for the assignment to a global variable. See issue #2111. | |||
| 2016-06-04 | tests/recursive_iternext: Clang/Linux is even more stack-frugal than MacOS. | Paul Sokolovsky | |
| 2016-06-03 | tests/pyb/rtc: Make RTC test on pyboard more reliable by calling init(). | Damien George | |
| 2016-06-03 | tests/misc/recursive_iternext: Provide more fine-grained selection of N. | Damien George | |
| To work on a variety of ports the selection of N is very specific. | |||
| 2016-06-03 | tests/misc/recursive_iternext.py: Increase depth N from 1000 to 2000. | Damien George | |
| This makes the test reliably overflow the recursion limit (which is the correct behaviour) on Mac OS X. | |||
| 2016-05-29 | tests/extmod/vfs_fat_ramdisk: Add testcases for chdir(), getcwd(). | Paul Sokolovsky | |
| 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-10 | stmhal: Convert to use internal errno symbols; enable uerrno module. | Damien George | |
| 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-08 | stmhal/can: Allow to get existing CAN obj if constructed without args. | Henrik Sölver | |
| Initialisation of CAN objects should now behave as other peripheral objects. Fixes issue #2001. | |||
| 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-07 | tests/run-tests: Factor out list supported external boards. | Paul Sokolovsky | |
| To get consistent error messages, etc. | |||
| 2016-05-02 | tests: Make "io" modules fixes for CPython compatibility. | Paul Sokolovsky | |
| Previously, "import _io" worked on both CPython and MicroPython (essentially by a chance on CPython, as there's not guarantee that its contents will stay the same across versions), but as the module was renamed to uio, need to use more robust import sequence for compatibility. | |||
| 2016-05-02 | tests: Update for _io/_collections module having been renamed. | Paul Sokolovsky | |
| 2016-05-01 | tests/run-bench-tests: Process tests in alphabetical order. | Paul Sokolovsky | |
| 2016-04-28 | tests/run-tests: Add gen_yield_from_stopped to skipped for --emit=native. | Paul Sokolovsky | |
| Just as the rest of generator tests, which aren't yet supoorted for native. | |||
| 2016-04-28 | tests: Add testcase for yielding from a stopped generator. | Paul Sokolovsky | |
| 2016-04-26 | tests/extmod: Move split-on-empty-match tests to a separate test file. | Damien George | |
| And provide an expected-output file because these tests have a different behaviour under CPython. | |||
| 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: Skip async tests for native emitter. | 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-04-07 | py: Implement basic with support in native emitter. | Damien George | |
| 2016-03-29 | py/formatfloat: Fix further cases of buffer overflow in formatting. | Damien George | |
| Includes extensive test cases to catch hopefully all cases where buffer might overflow. | |||
| 2016-03-25 | tests: Add test for io.BufferedWriter. | Paul Sokolovsky | |
| 2016-03-19 | extmod/uctypes: Finish support for FLOAT32 and FLOAT64 types. | Damien George | |
| 2016-03-17 | tests/io: Remove "testfile" at end of open_plus test. | Damien George | |
| 2016-03-16 | tests: Add a test for argument passing to inline-asm functions. | Damien George | |
| 2016-03-15 | tests: Add new subdir "stress/" specifically for stress tests. | Damien George | |
| 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-15 | tests/run-tests: Add cmd line option "--heapsize". | Damien George | |
| This allows you to specify the heapsize that unix will use when running the test suite, eg: ./run-tests --heapsize 16k | |||
| 2016-03-15 | py/formatfloat: Fix buffer overflow when formatting tiny numbers. | Damien George | |
| 2016-03-14 | py/objarray: Fix array slice assignment when array is reallocated. | Damien George | |
| Addresses issue #1898. | |||
| 2016-03-08 | tests/run-tests: Simplify handling of newline in output from tests. | Damien George | |
| Now, all output has newlines converted to \n, regardless of port or platform. | |||
| 2016-03-07 | tests/run-tests: Fix logic when selecting test-dirs for a given target. | Damien George | |
| 2016-03-07 | tests/recursive_iternext.py: Make low-heap friendly. | Paul Sokolovsky | |
| 2016-03-07 | tests/print_exception: Use exception which prints the same regardless of config. | Paul Sokolovsky | |
| NameError may either include offending name or not. Unfortunately, this change makes test float-dependent. And using integer division leads to different error message than CPython. | |||
| 2016-03-06 | test/string_format_fp30: Variant of string_format for 30-bit stuffed float. | Paul Sokolovsky | |
| 2016-03-06 | test/float2int_fp30: Variant of float2int for 30-bit stuffed float. | Paul Sokolovsky | |
