693 Commits (ab750ee2fb6329eb7b0b06ff44a0d0d152ba32b7)

Author SHA1 Message Date
Damien George c3bc8d7b2b tests/basics/builtin_locals: Add test for using locals() in class body. 7 years ago
Damien George c7a0e1472d tests/basics/builtin_range: Add test for corner case of range slicing. 7 years ago
Damien George 505671b698 tests/basics: Add test for containment of a subclass of a native type. 7 years ago
stijn 79ed58f87b py/objnamedtuple: Add _asdict function if OrderedDict is supported 7 years ago
Damien George dfa563c71f py/objstr: Make empty bytes object have a null-terminating byte. 7 years ago
Damien George 1394258f37 py/objset: Include the failed key in a KeyError raised from set.remove. 7 years ago
Damien George 2ac1364688 py/objset: Check that RHS of a binary op is a set/frozenset. 7 years ago
Paul Sokolovsky fc9a6dd09e py/objstr: strip: Don't strip "\0" by default. 7 years ago
Paul Sokolovsky d6f9d64d97 tests/class_reverse_op: Test for reverse arith ops special methods. 7 years ago
Paul Sokolovsky 5c603bd0fd py/objlist: Properly implement comparison with incompatible types. 7 years ago
Paul Sokolovsky 1aaba5cabe py/objtuple: Properly implement comparison with incompatible types. 7 years ago
Paul Sokolovsky 376618cd8a tests/class_inplace_op: Test for inplace op fallback to normal one. 7 years ago
Damien George 2daacc5cee py/modstruct: Check and prevent buffer-write overflow in struct packing. 7 years ago
Damien George 79d5acbd01 py/modstruct: Check and prevent buffer-read overflow in struct unpacking 7 years ago
Damien George 793d826d9d py/modstruct: In struct.pack, stop converting if there are no args left. 7 years ago
Paul Sokolovsky b349479a49 tests/class_new: Add another testcase for __new__/__init__ interaction. 7 years ago
Paul Sokolovsky 35be9e805f tests/class_new: Add checks for __init__ being called and other improvements. 7 years ago
Paul Sokolovsky b565c36963 tests/object_new: Better messages, check user __new__() method. 7 years ago
Paul Sokolovsky 784909ce16 py/objtype: Handle NotImplemented return from binary special methods. 7 years ago
Paul Sokolovsky 37379a2974 py/objstr: startswith, endswith: Check arg to be a string. 7 years ago
Damien George 025e5f2b33 py/binary: Change internal bytearray typecode from 0 to 1. 7 years ago
Bas van Sisseren a14ce77b28 py/binary.c: Fix bug when packing big-endian 'Q' values. 7 years ago
Damien George 3d25d9c7d9 py/objstr: Raise an exception for wrong type on RHS of str binary op. 7 years ago
Damien George eb2784e8a2 py/objtuple: Allow to use inplace-multiplication operator on tuples. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Tom Collins 6cfe737597 tests/basics/builtin_exec: Test various globals/locals args to exec(). 7 years ago
Damien George 6c1b7e008d tests: Rename exec1.py to builtin_exec.py. 7 years ago
Damien George f69ab79ec8 py/objgenerator: Allow to hash generators and generator instances. 7 years ago
Krzysztof Blazewicz 7feb7301b2 tests/basics: Add tests for arithmetic operators precedence. 8 years ago
Damien George 8f6ef8de48 tests/basics/namedtuple1: Add test for creating with pos and kw args. 7 years ago
Damien George 44922934f5 tests/basics: Add tests for for-else statement. 7 years ago
Damien George e269cabe3e py/objint: In to_bytes(), allow length arg to be any int and check sign. 8 years ago
Damien George 8c5632a869 py/objint: Support "big" byte-order in int.to_bytes(). 8 years ago
Damien George 1e70fda69f py/compile: Raise SyntaxError if positional args are given after */**. 8 years ago
Paul Sokolovsky a2803b74f4 tests/basics: Convert "sys.exit()" to "raise SystemExit". 8 years ago
Damien George 7400d88762 tests/basics/string_rsplit: Add tests for negative "maxsplit" argument. 8 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 8 years ago
Damien George 8b13cd7e19 tests/basics: Add more tests for unwind jumps from within a try-finally. 8 years ago
Damien George 218a876f97 tests/basics/builtin_range: Add tests for negative slicing of range. 8 years ago
Damien George e1b0f2a16f tests/basics/list_slice_3arg: Add more tests for negative slicing. 8 years ago
Tom Collins 760aa0996f tests/basics/lexer: Add line continuation tests for lexer. 8 years ago
Tom Collins d00d062af2 tests/basics/lexer: Add lexer tests for input starting with newlines. 8 years ago
Damien George e711e2d44a tests/basics: Add memoryview test for big ints. 8 years ago
Damien George 2e9e14980d tests/basics: Update array test for big-int with lL typecodes. 8 years ago
Damien George 084824f866 tests: Move super-as-local test from cpydiff to basic tests. 8 years ago
Damien George 810133d97d tests/basics: Add tests for int.from_bytes when src has trailing zeros. 8 years ago
Damien George 30badd1ce1 tests: Add tests for calling super and loading a method directly. 8 years ago
Damien George b6fff4186d tests/basics: Add test for tuple inplace add. 8 years ago
Damien George dcd8f52766 tests/basics: Add tests for raising ValueError when range() gets 0 step. 8 years ago
Damien George bf51e2ff98 tests/basics: Add tests for list and bytearray growing using themselves. 8 years ago