1369 Commits (ef61b5ecb59e9b4e37e3e3c023c62d583c23eb16)

Author SHA1 Message Date
Dan Halbert ef61b5ecb5 Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in development) master.
6 years ago
Scott Shawcroft 266be30777 atmel-samd: Introduce a nvm module for non-volatile byte-level memory access. (#203)
6 years ago
Paul Sokolovsky e3383e9352 py/stream: seek: Consistently handle negative offset for SEEK_SET.
6 years ago
Alex Robbins c89254fd0f extmod/modubinascii: Rewrite mod_binascii_a2b_base64.
6 years ago
Damien George 025e5f2b33 py/binary: Change internal bytearray typecode from 0 to 1.
6 years ago
Eric Poulsen d5191edf7f extmod/modussl_mbedtls.c: Add ussl.getpeercert() method.
6 years ago
Bas van Sisseren a14ce77b28 py/binary.c: Fix bug when packing big-endian 'Q' values.
6 years ago
Scott Shawcroft fab634e3ee Turn on Rosie CI testing to test new builds on real hardware.
6 years ago
Paul Sokolovsky bfc2092dc5 py/modsys: Initial implementation of sys.getsizeof().
6 years ago
Damien George 3d25d9c7d9 py/objstr: Raise an exception for wrong type on RHS of str binary op.
6 years ago
Damien George eb2784e8a2 py/objtuple: Allow to use inplace-multiplication operator on tuples.
6 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments
6 years ago
Damien George 04552ff71b py: Implement raising a big-int to a negative power.
6 years ago
Tom Collins 6cfe737597 tests/basics/builtin_exec: Test various globals/locals args to exec().
6 years ago
Damien George 6c1b7e008d tests: Rename exec1.py to builtin_exec.py.
6 years ago
Paul Sokolovsky 4368ae3142 extmod/modussl_axtls: Allow to close ssl stream multiple times.
6 years ago
Damien George 761e4c7ff6 all: Remove trailing spaces, per coding conventions.
6 years ago
Paul Sokolovsky ad3abcd324 tests/cpydiff: Add case for str.ljust/rjust.
6 years ago
Paul Sokolovsky 0c5369a1f0 tests/cpydiff/: Improve wording, add more workarounds.
6 years ago
Paul Sokolovsky 5f65ad8c96 tests/cpydiff/core_class_supermultiple: Same cause as core_class_mro.
6 years ago
Paul Sokolovsky c5efb8159f tests/cpydiff/core_arguments: Move under Functions subsection.
6 years ago
Paul Sokolovsky b2979023ac tests/cpydiff/core_class_mro: Move under Classes, add workaround.
6 years ago
Damien George f69ab79ec8 py/objgenerator: Allow to hash generators and generator instances.
6 years ago
Paul Sokolovsky ed52955c6b tests/cpydiff/modules_deque: Elaborate workaround.
6 years ago
Krzysztof Blazewicz 7feb7301b2 tests/basics: Add tests for arithmetic operators precedence.
6 years ago
Damien George 6b8b56f859 py/modmath: Check for zero division in log with 2 args.
6 years ago
Damien George b86c65d31c extmod/modubinascii: Add check for empty buffer passed to hexlify.
6 years ago
Paul Sokolovsky 58b7b01cb5 extmod/modure: If input string is bytes, return bytes results too.
6 years ago
Damien George 369e7fd178 tests/unix/extra_coverage: Add test for mp_vprintf with bad fmt spec.
6 years ago
Damien George 8f6ef8de48 tests/basics/namedtuple1: Add test for creating with pos and kw args.
6 years ago
Damien George 409fc8f9c1 tests/import: Update comment now that uPy raises correct exception.
6 years ago
Damien George 3a9445c6b3 tests/import: Add a test for the builtin __import__ function.
6 years ago
Damien George 4a6c0fda78 tests: Auto detect floating point capabilites of the target.
6 years ago
Paul Sokolovsky bc7659eb59 tests/connect_nonblock: Refactor towards real net_hosted test.
6 years ago
Paul Sokolovsky 3f9d59c87a tests/net_inet: Move tests which don't require full Internet to net_hosted.
6 years ago
Damien George 44922934f5 tests/basics: Add tests for for-else statement.
6 years ago
Damien George 458cbacb8f tests/net_inet: Add tests for accept and connect in nonblocking mode.
6 years ago
Paul Sokolovsky 4caa27ae0e tests/net_inet/test_tls_sites.py: Integration test for SSL connections.
6 years ago
Scott Shawcroft 30ee7019ca Merge tag 'v1.9.1'
6 years ago
Damien George e269cabe3e py/objint: In to_bytes(), allow length arg to be any int and check sign.
6 years ago
Damien George 8c5632a869 py/objint: Support "big" byte-order in int.to_bytes().
6 years ago
Damien George 1e70fda69f py/compile: Raise SyntaxError if positional args are given after */**.
6 years ago
Damien George e374cfff80 py/modthread: Raise RuntimeError in release() if lock is not acquired.
6 years ago
Damien George 6ed4581f54 py/formatfloat: Fix number of digits and exponent sign when rounding.
6 years ago
Damien George f55dcddbc7 tests/extmod/vfs_basic: Allow test to pass on embedded targets.
6 years ago
Paul Sokolovsky 85d809d1f4 tests: Convert remaining "sys.exit()" to "raise SystemExit".
6 years ago
Paul Sokolovsky a2803b74f4 tests/basics: Convert "sys.exit()" to "raise SystemExit".
6 years ago
Paul Sokolovsky 07241cd37a py/objstringio: If created from immutable object, follow copy on write policy.
6 years ago
Paul Sokolovsky e094200750 tests/float/builtin_float_minmax: PEP8 fixes.
6 years ago
Damien George fde54350a8 tests/float: Convert "sys.exit()" to "raise SystemExit".
6 years ago