740 Commits (4915c2b8718b3e4efaa0992b35c37049ccbb078c)

Author SHA1 Message Date
Delio Brignoli 32aba40830 py: Implement memoryview slice assignment. 10 years ago
Sebastian Plamauer 1e8ca3a3cf modbuiltins: Implement round() to precision. 9 years ago
Paul Sokolovsky 354d17523f modmachine: Implement physical memory access using /dev/mem (Linux, etc). 9 years ago
Damien George 68e8b595de tests: Catch ValueError instead of any exception to properly test error. 9 years ago
Galen Hazelwood 616986a5f3 extmod: Add a2b_base64 and b2a_base64 functions to ubinascii. 9 years ago
Paul Sokolovsky 9896314f5b tests: Add test for relative import without package context. 10 years ago
Damien George 59fba2d6ea py: Remove mp_load_const_bytes and instead load precreated bytes object. 10 years ago
Damien George e44c1d3ace tests: Split out json float tests to separate files. 10 years ago
Daniel Campora 186b355b28 tests: Add support for the WiPy in run-tests script. 10 years ago
Daniel Campora 4af5424242 tests: Adapt misc/features.py tests for ports without floating point. 10 years ago
Daniel Campora d709622bd2 tests: Adapt basics/memoryerror.py for ports with lower heap sizes. 10 years ago
Paul Sokolovsky a06c38b486 tests: Add testcase for open(..., "a"). 10 years ago
Damien George 06593fb0f2 py: Use a wrapper to explicitly check self argument of builtin methods. 10 years ago
Damien George f6518a7bd5 tests: Check that machine module exists and print SKIP if it doesn't. 10 years ago
Damien George e9ce00d874 py: Implement divmod for mpz bignum. 10 years ago
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