Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py/objtype: Implement __delattr__ and __setattr__. | dmazzella | 2017-02-09 |
| | | | | | | This patch implements support for class methods __delattr__ and __setattr__ for customising attribute access. It is controlled by the config option MICROPY_PY_DELATTR_SETATTR and is disabled by default. | ||
* | tests/basics/string_format_modulo: Add more tests for dict formatting. | Damien George | 2017-02-03 |
| | |||
* | tests: Split tests for 2- and 3-arg pow(). | Paul Sokolovsky | 2017-02-02 |
| | |||
* | py: Added optimised support for 3-argument calls to builtin.pow() | Nicko van Someren | 2017-02-02 |
| | | | | | | Updated modbuiltin.c to add conditional support for 3-arg calls to pow() using MICROPY_PY_BUILTINS_POW3 config parameter. Added support in objint_mpz.c for for optimised implementation. | ||
* | tests/basics/set_binop: Add tests for inplace set operations. | Damien George | 2017-02-02 |
| | |||
* | tests/basics/zip: Make skippable. | Paul Sokolovsky | 2017-01-31 |
| | |||
* | tests/basics/builtin_help: Add test for help('modules'). | Damien George | 2017-01-22 |
| | |||
* | tests: Add test for builtin help function. | Damien George | 2017-01-22 |
| | |||
* | tests: Add test for int.from_bytes() for arbitrary-precision integer. | Paul Sokolovsky | 2017-01-21 |
| | | | | | This test works only for MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_MPZ and needs a way of skipping in other cases. | ||
* | tests/basics: Add test for assignment of attribute to bound method. | Damien George | 2017-01-20 |
| | |||
* | py/binary: mp_binary_get_size: Raise error on unsupported typecodes. | Paul Sokolovsky | 2017-01-17 |
| | | | | | Previouly, we had errors checked in callers, which led to duplicate code or missing checks in some places. | ||
* | tests/basics: Improve runtime.c test coverage. | Rami Ali | 2017-01-17 |
| | |||
* | tests: Update tests, and add new ones, for recent generator tweaks. | Damien George | 2017-01-17 |
| | |||
* | tests: Update test suite to be compatible with CPython 3.6. | Damien George | 2017-01-09 |
| | | | | | | | | CPython 3.6 has a few changes that, when run on uPy's test suite, give a different output to CPython 3.5. uPy currently officially supports the 3.4 language definition, but it's useful to be able to run the test suite with 3.4/3.5/3.6 versions of CPython. This patch makes such changes to support 3.6. | ||
* | tests/array*: Allow to skip test if "array" is unavailable. | Paul Sokolovsky | 2017-01-07 |
| | |||
* | tests/types1: Split out set type test to set_types. | Paul Sokolovsky | 2017-01-06 |
| | | | | set isn't the most basic type and can be disabled by a port. | ||
* | tests/run-tests: Allow to skip set tests. | Paul Sokolovsky | 2017-01-05 |
| | | | | | | If sets are not enabled, set literals lead to SyntaxError during parsing, so it requires feature_check. Set tests are skipped based on set_*.py pattern. | ||
* | tests/basics: Add tests to improve coverage of binary.c. | Rami Ali | 2016-12-28 |
| | |||
* | tests/basics: Add tests for parsing of ints with base 36. | Damien George | 2016-12-28 |
| | |||
* | tests/basics/lexer: Add a test for newline-escaping within a string. | Damien George | 2016-12-22 |
| | |||
* | tests: Add tests to improve coverage of objarray.c. | Rami Ali | 2016-12-21 |
| | |||
* | tests: Add tests to improve coverage of runtime.c. | Rami Ali | 2016-12-21 |
| | |||
* | tests/basics: Improve test coverage for generators. | Rami Ali | 2016-12-20 |
| | |||
* | tests/basics/set_pop: Improve coverage of set functions. | Damien George | 2016-12-20 |
| | |||
* | tests/basics: Add test for builtin locals(). | Damien George | 2016-12-20 |
| | |||
* | tests/basics/builtin_dir: Add test for dir() of a type. | Damien George | 2016-12-20 |
| | |||
* | tests/basics: Improve mpz test coverage. | Rami Ali | 2016-12-20 |
| | |||
* | tests/struct*: Make skippable. | Paul Sokolovsky | 2016-12-19 |
| | |||
* | tests: Update for required byteorder arg for int.from_bytes()/to_bytes(). | Paul Sokolovsky | 2016-12-09 |
| | |||
* | tests/basics: Enable tests for list slice getting with 3rd arg. | Damien George | 2016-11-26 |
| | | | | Also add a test to check case when 3rd arg is 0. | ||
* | tests/basics: Change dict_fromkeys test so it doesn't use generators. | Damien George | 2016-11-26 |
| | | | | And then it can run with the native emitter. | ||
* | tests/basics: Add tests for if-expressions. | Damien George | 2016-11-26 |
| | |||
* | tests/basics: Add test for dict.fromkeys where arg is a generator. | Damien George | 2016-11-26 |
| | | | | | Improves coverage because it tests the case where the arg does not have a __len__ slot. | ||
* | tests/basics: Improve user class coverage. | Rami Ali | 2016-11-22 |
| | |||
* | tests/basics: Add test for logical constant folding. | Damien George | 2016-11-15 |
| | |||
* | py/sequence: Fix reverse slicing of lists. | Fabio Utzig | 2016-10-30 |
| | |||
* | tests/basics/gc1: Garbage collector threshold() coverage. | Alex March | 2016-10-27 |
| | |||
* | tests/basics: Add test for builtin "delattr". | Damien George | 2016-10-24 |
| | |||
* | tests/basics/builtin_slice: Add test for "slice" builtin name. | Damien George | 2016-10-24 |
| | |||
* | tests: Add test to print full KeyError exc from failed dict lookup. | Damien George | 2016-10-17 |
| | |||
* | tests: Improve coverage of array, range, dict, slice, exc, unicode. | Damien George | 2016-10-17 |
| | |||
* | tests: Improve test coverage of py/compile.c. | Damien George | 2016-10-11 |
| | |||
* | tests: Improve coverage of struct with test for non-compliant behaviour. | Damien George | 2016-10-07 |
| | |||
* | tests/basics: Add test for printing OSError when errno is unknown. | Damien George | 2016-09-30 |
| | |||
* | tests/basics: Add test constructing a set from a non-trivial expression. | Damien George | 2016-09-30 |
| | |||
* | tests/basics: Add further tests for nonlocal scoping and closures. | Damien George | 2016-09-30 |
| | |||
* | py/compile: Fix async-for/async-with to work with simpler exc on stack. | Damien George | 2016-09-28 |
| | | | | | There is now just the exception instance on the stack when an exception is raised, not the full (type, exc, traceback). | ||
* | 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-28 |
| | |||
* | tests/basics: Add test case for overflowing Py stack in try-finally. | Damien George | 2016-09-27 |
| |