825 Commits (2f4e8511cd602a6110b3636c316b5cac21181bf3)

Author SHA1 Message Date
Damien George c5029bcbf3 py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin. 10 years ago
Damien George 6f49520042 py: Implement second arg for math.log (optional value for base). 10 years ago
Damien George 7ed58cb663 py: Support unicode (utf-8 encoded) identifiers in Python source. 10 years ago
Damien George 6e56bb623c py: Fallback to stack alloca for Python-stack if heap alloc fails. 10 years ago
Paul Sokolovsky 1679696612 moductypes: Swap address and descriptor args in constructor. 10 years ago
Damien George 031278f661 unix: Allow to cat a script into stdin from the command line. 10 years ago
Damien George 567b349c2b py: Implement native multiply operation in viper emitter. 10 years ago
Damien George 4d9cad180d py: Implement implicit cast to obj for viper load/store index/value. 10 years ago
Damien George 80f638fe19 tests: Add test for recursive iternext stack overflow. 10 years ago
Damien George a16715ac62 tests: Add special tests to test mp_printf function to improve coverage. 10 years ago
Damien George 9ede4dcfbb tests: Add some tests for printing floats to improve coverage. 10 years ago
Damien George 79474c6b16 py: Remove unnecessary extra handling of padding of nan/inf. 10 years ago
Damien George 6d1ff7e966 tests: Add tests to create valid and invalid UART, I2C, SPI, CAN busses. 10 years ago
Damien George 9ae3fc6523 unix: Add option to use uPy readline, and enable by default. 10 years ago
Dave Hylands a3a14b9db7 lib: Fix some issues in timeutils 10 years ago
Dave Hylands 3ad94d6072 extmod: Add ubinascii.unhexlify 10 years ago
stijn 861670ba2a py: Implement mp_format_float for doubles and use where appropriate 10 years ago
stijn 709955b601 py: Fix printing of complex number when imaginary part is nan 10 years ago
Damien George f601390ef8 unix: Add some extra coverage tests for vstr and attrtuple. 10 years ago
Damien George 7bab32ef89 tests: Add further tests for class defining __hash__. 10 years ago
Damien George c2a4e4effc py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. 10 years ago
Paul Sokolovsky 6738c1dded vm: Properly handle StopIteration raised in user instance iterator. 10 years ago
blmorris 5df81de7af sthmal/rtc.c: Add calibration() method to get/set RTC fine-tuning value. 10 years ago
Paul Sokolovsky 4ed7b7f751 py: iternext() may not return MP_OBJ_NULL, only MP_OBJ_STOP_ITERATION. 10 years ago
Damien George d792d9e49e unix: Make extra-coverage function callable from Python scripts. 10 years ago
Damien George 0589c19d52 tests: Add test for machine module (mem* functions). 10 years ago
Damien George 57ebe1b27d unix-cpy: Fix adjustment of stack size when leaving exception handler. 10 years ago
Damien George 9a42eb541e py: Fix naming of function arguments when function is a closure. 10 years ago
Damien George 367d4d1098 tests: Fix cmd_showbc now that LOAD_CONST_ELLIPSIS bytecode is gone. 10 years ago
Paul Sokolovsky 37c6555b44 obj: Handle user instance hash based on Python adhoc rules. 10 years ago
Paul Sokolovsky 3d3ef36e97 modstruct: Rename module to "ustruct", to allow full Python-level impl. 10 years ago
Damien George 47b9809d23 py: Check that arg to object.__new__ is a user-defined type. 10 years ago
Damien George 6bbbb1ab41 unix/modffi: Support passing float/double args. 10 years ago
Paul Sokolovsky ae2c81ff38 vm: On exiting except block, clear sys.exc_info() value. 10 years ago
Damien George 271d18eb08 py: Support conversion of bignum to bytes. 10 years ago
Paul Sokolovsky 8b85d14b92 modsys: Add basic sys.exc_info() implementation. 10 years ago
Damien George 8c1d23a0e2 py: Modify bytecode "with" behaviour so it doesn't use any heap. 10 years ago
Damien George 40d43ea88d tests: Add more tests for viper, including tests for ViperTypeError's. 10 years ago
Damien George 1f9e2188a6 tests: Add tests for attrtuple, and for more corner cases. 10 years ago
Damien George 956d765786 py: Fix printing of "inf" and "nan" floating point values. 10 years ago
= 5008972fef py/inlinethumb: Support for core floating point instructions. 10 years ago
Damien George d8cbbcaa9d py: Fix builtin ord so that it can handle bytes values >= 0x80. 10 years ago
Henrik e3cd154317 stmhal: Add support for sending and receiving CAN RTR messages. 10 years ago
Damien George 7d5e34287c stmhal: Allow sending CAN messages with timeout=0. 10 years ago
Damien George 90aa7595b4 tests: Convert line endings in fun_name.py from CRLF to LF. 10 years ago
Damien George 044c473de2 py: Add %q format support to mp_[v]printf, and use it. 10 years ago
Paul Sokolovsky 56beb01724 objarray: Support assignment of bytes to bytearray slice. 10 years ago
Paul Sokolovsky 8b7faa31e1 objstr: split(None): Fix whitespace properly. 10 years ago
Damien George 7a6dbaa89b stmhal: Make LED object print LED(x) for consistency with constructor. 10 years ago
Damien George 9988618e0e py: Implement full func arg passing for native emitter. 10 years ago