1607 Commits (eee1e8841a852f374b83e0a3e3b0ff7b66e54243)

Author SHA1 Message Date
stijn 42863830be py: Add optional support for 2-argument version of built-in next(). 6 years ago
Paul Sokolovsky d4d4bc5827 tests/basics/special_methods2: Typo fix in comment. 7 years ago
Damien George 074597f172 tests/extmod/uctypes_error: Add test for unsupported unary op. 6 years ago
Paul Sokolovsky 0de6815ec1 tests/extmod/uctypes_ptr_le: Test int() operation on a pointer field. 6 years ago
Paul Sokolovsky d690c2e148 tests/basics/special_methods: Add testcases for __int__. 6 years ago
Damien George 113f00a9ab py/objboundmeth: Support loading generic attrs from the method. 6 years ago
Damien George 8007d0bd16 stm32/uart: Add rxbuf keyword arg to UART constructor and init method. 6 years ago
Damien George 9262f54138 stm32/uart: Always show the flow setting when printing a UART object. 6 years ago
Paul Sokolovsky 5c34c2ff7f tests/io: Update tests to use uos.remove() instead of uos.unlink(). 6 years ago
Damien George 7c85c7c210 py/unicode: Fix check for valid utf8 being stricter about contn chars. 6 years ago
Paul Sokolovsky d94aa577a6 tests/import_long_dyn: Test for "import *" of a long dynamic name. 6 years ago
stijn 06643a0df4 tests/extmod: Skip uselect test when CPython doesn't have poll(). 6 years ago
Damien George 9201f46cc8 py/compile: Fix case of eager implicit conversion of local to nonlocal. 6 years ago
Damien George c2074e7b66 tests/cmdline/cmd_showbc.py: Fix test to explicitly declare nonlocal. 6 years ago
Damien George 27ca9ab8b2 tests/import: Add .exp file for module_getattr.py to not require Py 3.7. 6 years ago
Paul Sokolovsky c638d86660 tests/extmod/uctypes_sizeof_layout: Test for sizeof of different layout. 6 years ago
Paul m. p. P 454cca6016 py/objmodule: Implement PEP 562's __getattr__ for modules. 6 years ago
Paul Sokolovsky a527313382 tests: Make bytes/str.count() tests skippable. 6 years ago
Damien George a07e56cbd8 tests/basics/class_getattr: Remove invalid test for __getattribute__. 6 years ago
Damien George 7eb29c2000 py/objtype: Remove comment about catching exc from user __getattr__. 6 years ago
Paul Sokolovsky 7059b4af6d tests/uctypes_sizeof_od: Test for using OrderedDict as struct descriptor 6 years ago
Paul Sokolovsky 6ef783527d tests/uselect_poll_basic: Add basic test for uselect.poll invariants. 6 years ago
Paul Sokolovsky cb66b75692 tests/unix/ffi_float: Skip if strtof() is not available. 6 years ago
Damien George 5cc9517fc5 tests/run-tests: Enabled native tests that pass now that yield works. 6 years ago
Damien George dd288904db py/objtype: Support full object model for get/set/delitem special meths. 6 years ago
Damien George 0c9d452370 py/vm: Fix case of throwing GeneratorExit type into yield-from. 6 years ago
Damien George e6078dfed2 tests/basics: Split out gen throw tests from yield-from-throw tests. 6 years ago
Damien George ac81cee3fc tests/micropython: Test loading const objs in native and viper funcs. 6 years ago
Damien George b3eadf3f3d py/objfloat: Fix abs(-0.0) so it returns 0.0. 6 years ago
Damien George fc1bb51af5 py/objgenerator: Remove TODO about returning gen being called again. 6 years ago
Paul Sokolovsky 8181ec04a4 tests/cpydiff: Add case for difference in behaviour of bytes.format(). 6 years ago
Christopher Swenson 8c656754aa py/modmath: Add math.factorial, optimised and non-opt implementations. 6 years ago
Damien George 9849209ad8 tests/float/float_parse.py: Add tests for accuracy of small decimals. 6 years ago
Damien George 3f6ffe059f py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError. 6 years ago
Damien George b01f66c5f1 py: Shorten error messages by using contractions and some rewording. 6 years ago
Damien George 93d71c5436 py/emitnative: Make viper funcs run with their correct globals context. 6 years ago
Damien George a676b5acf6 py/emitnative: Support arbitrary number of arguments to viper functions. 6 years ago
Damien George 9f2067288a py/compile: Factor code that compiles viper type annotations. 6 years ago
Damien George 4f3d9429b5 py: Fix native functions so they run with their correct globals context. 6 years ago
Damien George f2de9d60f7 py/emitnative: Fix try-finally in outer scope, so finally is cancelled. 6 years ago
Paul Sokolovsky 674e069ba9 py/objarray: bytearray: Allow 2nd/3rd arg to constructor. 6 years ago
Paul Sokolovsky b6ebb4f04e tests/extmod/uhashlib_md5: Add coverage tests for MD5 algorithm. 6 years ago
Damien George e814db592d tests: Remove pyboard.py symlink and instead import from ../tools. 6 years ago
Damien George 5630f277bd tests/float: Test -inf and some larger values for special math funcs. 6 years ago
Damien George a111ca25ea tests/float/cmath_fun.py: Fix truncation of small real part of complex. 6 years ago
Damien George 4970e9bc8c tests/basics: Add test cases for context manager raising in enter/exit. 6 years ago
Damien George b14c705c18 tests/basics: Add more tests for return within try-finally. 6 years ago
Damien George 938daa4ff9 tests/run-tests: Enable native tests for unwinding jumps. 6 years ago
Damien George 3cd2c281d7 py/emitnative: Cancel caught exception once handled to prevent reraise. 6 years ago
Damien George b735208403 py/vm: Fix handling of finally-return with complex nested finallys. 6 years ago