Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tests: Convert remaining "sys.exit()" to "raise SystemExit". | Paul Sokolovsky | 2017-06-10 |
| | |||
* | tests/misc/: Make few tests skippable. | Paul Sokolovsky | 2017-03-11 |
| | |||
* | tests/misc: Add test for line number printing with large bytecode chunk. | Damien George | 2017-02-10 |
| | |||
* | tests/misc/non_compliant: Add test for inability to assign func attrs. | Damien George | 2017-01-19 |
| | |||
* | tests: Add tests to improve coverage of objarray.c. | Rami Ali | 2016-12-21 |
| | |||
* | 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/misc/non_compliant: Add tests to improve coverage testing. | Damien George | 2016-08-15 |
| | |||
* | tests/recursive_iternext: Clang/Linux is even more stack-frugal than MacOS. | Paul Sokolovsky | 2016-06-04 |
| | |||
* | tests/misc/recursive_iternext: Provide more fine-grained selection of N. | Damien George | 2016-06-03 |
| | | | | To work on a variety of ports the selection of N is very specific. | ||
* | tests/misc/recursive_iternext.py: Increase depth N from 1000 to 2000. | Damien George | 2016-06-03 |
| | | | | | This makes the test reliably overflow the recursion limit (which is the correct behaviour) on Mac OS X. | ||
* | tests: Make "io" modules fixes for CPython compatibility. | Paul Sokolovsky | 2016-05-02 |
| | | | | | | | 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. | ||
* | tests: Update for _io/_collections module having been renamed. | Paul Sokolovsky | 2016-05-02 |
| | |||
* | 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 | 2016-03-07 |
| | | | | | | 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. | ||
* | py/mpz: Complete implementation of mpz_{and,or,xor} for negative args. | Doug Currie | 2016-02-03 |
| | | | | | | | | | | | | 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. | ||
* | py/parse: Improve constant folding to operate on small and big ints. | Damien George | 2016-01-07 |
| | | | | | | | | | | | | | | | Constant folding in the parser can now operate on big ints, whatever their representation. This is now possible because the parser can create parse nodes holding arbitrary objects. For the case of small ints the folding is still efficient in RAM because the folded small int is stored inplace in the parse node. Adds 48 bytes to code size on Thumb2 architecture. Helps reduce heap usage because more constants can be computed at compile time, leading to a smaller parse tree, and most importantly means that the constants don't have to be computed at runtime (perhaps more than once). Parser will now be a little slower when folding due to calls to runtime to do the arithmetic. | ||
* | tests: Allow tests to pass against CPython 3.5. | Damien George | 2015-10-02 |
| | | | | | All breaking changes going from 3.4 to 3.5 are contained in basics/python34.py. | ||
* | py/mpz: Raise NotImplError instead of failing assertion. | Damien George | 2015-10-01 |
| | |||
* | py/lexer: Raise NotImplError for unicode name escape, instead of assert. | Damien George | 2015-09-07 |
| | |||
* | tests: Add tests for non-compliant behaviour of lexer. | Damien George | 2015-09-07 |
| | |||
* | py/objstr: For str.endswith(s, start) raise NotImpl instead of assert. | Damien George | 2015-09-04 |
| | |||
* | tests: Add tests to improve coverage of objstr.c. | Damien George | 2015-09-03 |
| | |||
* | py/objstr: Make str.rsplit(None,n) raise NotImpl instead of assert(0). | Damien George | 2015-09-01 |
| | |||
* | tests: Fix non-compliant expected output to match actual behaviour. | Damien George | 2015-08-30 |
| | |||
* | tests: Add tests for non-compliant behaviour. | Damien George | 2015-08-30 |
| | | | | | These tests are intended to improve coverage and provide a record of behaviour that's either not implemented or non-compliant to CPython. | ||
* | tests: Adapt misc/features.py tests for ports without floating point. | Daniel Campora | 2015-06-24 |
| | |||
* | tests: Add test for recursive iternext stack overflow. | Damien George | 2015-06-03 |
| | |||
* | vm: On exiting except block, clear sys.exc_info() value. | Paul Sokolovsky | 2015-04-26 |
| | | | | | | This doesn't handle case fo enclosed except blocks, but once again, sys.exc_info() support is a workaround for software which uses it instead of properly catching exceptions via variable in except clause. | ||
* | modsys: Add basic sys.exc_info() implementation. | Paul Sokolovsky | 2015-04-25 |
| | | | | | | The implementation is very basic and non-compliant and provided solely for CPython compatibility. The function itself is bad Python2 heritage, its usage is discouraged. | ||
* | py: Fix adding of traceback so that it appends to existing info. | Damien George | 2015-02-27 |
| | | | | | | | | This makes exception traceback info self contained (ie doesn't rely on list object, which was a bit of a hack), reduces code size, and reduces RAM footprint of exception by eliminating the list object. Addresses part of issue #1126. | ||
* | tests: Get misc/print_exception and pyb/spi working on pyboard. | Damien George | 2014-12-18 |
| | |||
* | tests: Activate recursive_data.py test, now that io.StringIO is available. | Paul Sokolovsky | 2014-12-12 |
| | |||
* | tests: Fix print_exception test and re-enable it on Travis CI. | Damien George | 2014-12-11 |
| | | | | | | Issue was with uPy: on local machine with micropython-lib installed, io module is available. Not the case on Travis CI, where only _io module is available in uPy. | ||
* | tests: Fix print_exception.py to work on Travis CI. | Damien George | 2014-12-10 |
| | |||
* | tests: Add test for print_exception() function. | Paul Sokolovsky | 2014-12-10 |
| | |||
* | tests: Enable misc tests on pyboard; output 4 sig figs in rge_sm. | Damien George | 2014-09-06 |
| | |||
* | tests: Rename test scripts, changing - to _ for consistency. | Damien George | 2014-07-05 |
| | | | | | | From now on, all new tests must use underscore. Addresses issue #727. | ||
* | py: Add protection against printing too nested or recursive data structures. | Paul Sokolovsky | 2014-06-28 |
| | | | | With a test which cannot be automatically validated so far. | ||
* | tests: Add test for catching infinite function recursion. | Paul Sokolovsky | 2014-06-27 |
| | | | | Put into misc/ to not complicate life for builds with check disabled. | ||
* | tests: Make rge-sm.py use less memory (integration step increased). | Damien George | 2014-04-04 |
| | | | | | In addition to memory allocation failure, other problem was that 10**17 was overflowing. Now passes. | ||
* | Add a test. | Damien George | 2014-04-02 |
| | |||
* | py: Fix bug in optimised for .. range. | Damien George | 2014-03-31 |
Don't store final, failing value to the loop variable. This fix also makes for .. range a bit more efficient, as it uses less store/load pairs for the loop variable. |