summaryrefslogtreecommitdiffstatshomepage
path: root/tests
Commit message (Collapse)AuthorAge
* vm: On exiting except block, clear sys.exc_info() value.Paul Sokolovsky2015-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.
* py: Support conversion of bignum to bytes.Damien George2015-04-25
| | | | | | | This gets int.to_bytes working for bignum, and also struct.pack with 'q' and 'Q' args on 32-bit machines. Addresses issue #1155.
* modsys: Add basic sys.exc_info() implementation.Paul Sokolovsky2015-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: Modify bytecode "with" behaviour so it doesn't use any heap.Damien George2015-04-24
| | | | | | Before this patch a "with" block needed to create a bound method object on the heap for the __exit__ call. Now it doesn't because we use load_method instead of load_attr, and save the method+self on the stack.
* tests: Add more tests for viper, including tests for ViperTypeError's.Damien George2015-04-22
|
* tests: Add tests for attrtuple, and for more corner cases.Damien George2015-04-22
|
* py: Fix printing of "inf" and "nan" floating point values.Damien George2015-04-22
|
* py/inlinethumb: Support for core floating point instructions.=2015-04-19
| | | | | | | | | | | | | | | | | | | Adds support for the following Thumb2 VFP instructions, via the option MICROPY_EMIT_INLINE_THUMB_FLOAT: vcmp vsqrt vneg vcvt_f32_to_s32 vcvt_s32_to_f32 vmrs vmov vldr vstr vadd vsub vmul vdiv
* py: Fix builtin ord so that it can handle bytes values >= 0x80.Damien George2015-04-19
| | | | Addresses issue #1188.
* stmhal: Add support for sending and receiving CAN RTR messages.Henrik2015-04-18
|
* stmhal: Allow sending CAN messages with timeout=0.Damien George2015-04-16
| | | | Thanks to Henrik Sölver for this patch.
* tests: Convert line endings in fun_name.py from CRLF to LF.Damien George2015-04-16
|
* py: Add %q format support to mp_[v]printf, and use it.Damien George2015-04-16
|
* objarray: Support assignment of bytes to bytearray slice.Paul Sokolovsky2015-04-16
|
* objstr: split(None): Fix whitespace properly.Paul Sokolovsky2015-04-12
|
* stmhal: Make LED object print LED(x) for consistency with constructor.Damien George2015-04-11
|
* py: Implement full func arg passing for native emitter.Damien George2015-04-07
| | | | | | | | | | | This patch gets full function argument passing working with native emitter. Includes named args, keyword args, default args, var args and var keyword args. Fully Python compliant. It reuses the bytecode mp_setup_code_state function to do all the hard work. This function is slightly adjusted to accommodate native calls, and the native emitter is forced a bit to emit similar prelude and code-info as bytecode.
* py: Simplify bytecode prelude when encoding closed over variables.Damien George2015-04-07
|
* py: Implement calling functions with *args in native emitter.Damien George2015-04-06
|
* tests: Add some more tests to improve code coverage of corner cases.Damien George2015-04-05
|
* tests: Add tests to exercise lexer; and some more complex number tests.Damien George2015-04-04
|
* tests: Add missing tests for builtins, and many other things.Damien George2015-04-04
|
* tests: Add test for str.splitlines().Paul Sokolovsky2015-04-04
|
* tests: Add specific test for closures in native emitter.Damien George2015-04-03
|
* py: Implement closures in native code generator.Damien George2015-04-03
| | | | Currently supports only x64 and Thumb2 archs.
* tests/class_descriptor.py: Fix line-endings (were CRLF).Paul Sokolovsky2015-03-28
|
* py: Add optional support for descriptors' __get__ and __set__ methods.stijn2015-03-26
| | | | Disabled by default. Enabled on unix and windows ports.
* tests: Skip some new tests when testing native emitter.Damien George2015-03-25
|
* tests: Add tests for SyntaxError, TypeError, and other missing things.Damien George2015-03-25
| | | | This is intended to improve coverage of the test suite.
* tests: Make pyb/timer test check callback timing properly.Damien George2015-03-20
|
* py: Allow retrieving a function's __name__.stijn2015-03-20
| | | | Disabled by default. Enabled on unix and stmhal ports.
* tests: Adjust expected output, since Travis can't do git describe.Damien George2015-03-20
|
* tests: Add basic test for OrderedDict.Paul Sokolovsky2015-03-20
| | | | Mostly to have coverage of newly added code in map.c.
* tests: Make cmdline tests more stable by using regex for matching.Damien George2015-03-20
|
* tests: Add some more tests for complex numbers and ure module.Damien George2015-03-14
|
* py: Fix builtin abs so it works for bools and bignum.Damien George2015-03-14
|
* tests: Add some more tests for bytes, bignum, string and ujson.Damien George2015-03-14
|
* tests: Don't try to verify amount of memory used in cmd_showbc test.Damien George2015-03-14
|
* tests: Add cmdline test to test showbc code.Damien George2015-03-14
|
* stmhal: Fix adc.read_timed so buffer store respects element size.Damien George2015-03-13
| | | | Addresses issue #1154.
* tests: Add ability to test uPy cmdline executable.Damien George2015-03-13
| | | | | This allows to test options passed to cmdline executable, as well as the behaviour of the REPL.
* tests: Add tests for things that are not already tested.Damien George2015-03-12
| | | | The aim here is to improve coverage of the code.
* tests: Add zlib test for decompressing uncompressed data.Damien George2015-03-12
|
* py: Add support for start/stop/step attributes of builtin range object.Peter D. Gray2015-03-11
|
* tests: Add test for modure when regex has errors.Damien George2015-03-10
|
* extmod/ure: Correctly return None when a group has no match.Damien George2015-03-04
| | | | See issue #1122.
* tests: Skip basics/boundmeth1.py for native emitter.Damien George2015-03-03
|
* tests: Add tests for boundmeth; and bignum cmp, unary, float, error.Damien George2015-03-03
|
* tests: Skip special math fun tests when math module exists but not funs.stijn2015-03-03
|
* tests: Add basics test for gc module.Damien George2015-03-02
|