905 Commits (7ad84e0422a521fe97ce5d742df280c6b8a3ff87)

Author SHA1 Message Date
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
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 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
Damien George 828f771e32 tests/basics: Provide .exp files for generator tests that fail PEP479. 6 years ago
Damien George 8979ce1671 tests: Modify tests that print repr of an exception with 1 arg. 6 years ago
Damien George 0988b14cd6 tests/basics/int_big_error.py: Use bytearray to test for int overflow. 6 years ago
Damien George 96e1fd480d tests/basics/set_pop.py: Sort set before printing for consistent output. 6 years ago
Ayke van Laethem 6572029dc0 tests: Make tests work on targets without float support. 6 years ago
Damien George e2e22e3d7e py/objgenerator: Implement __name__ with normal fun attr accessor code. 6 years ago
Damien George d8dc918deb py/compile: Handle return/break/continue correctly in async with. 6 years ago
Damien George 726804ea40 tests: Move non-filesystem io tests to basics dir with io_ prefix. 6 years ago
Paul Sokolovsky bdceea1d12 tests/basics/namedtuple*: Import ucollections first. 7 years ago
Damien George 6a445b60fa py/lexer: Add support for underscores in numeric literals. 7 years ago
Damien George 36c1052183 py/objtype: Optimise instance get/set/del by skipping special accessors. 7 years ago
Jeff Epler c60589c02b py/objtype: Fix assertion failures in super_attr by checking type. 7 years ago
Jeff Epler 05b13fd292 py/objtype: Fix assertion failures in mp_obj_new_type by checking types. 7 years ago
Damien George dfeaea1441 py/objtype: Remove TODO comment about needing to check for property. 7 years ago
Damien George 400273a799 py/objgenerator: Protect against reentering a generator. 7 years ago
Jan Klusacek b318ebf101 py/modbuiltins: Add support for rounding integers. 7 years ago
Damien George 1ad0013dec tests: Add some tests for bigint hash, float hash and float parsing. 7 years ago
Damien George 7541be5637 tests/basics/special_methods2: Enable some additional tests that work. 7 years ago
Damien George 3678a6bdc6 py/modbuiltins: Make built-in dir support the __dir__ special method. 7 years ago
Damien George 529860643b py/modbuiltins: Make built-in hasattr work properly for user types. 7 years ago
Jeff Epler d6cf5c6749 py/objstr: In find/rfind, don't crash when end < start. 7 years ago
Damien George 1bfc774a08 tests/basics/string_compare.py: Add test with string that hashes to 0. 7 years ago
Damien George 22161acf47 tests/basics/class_super.py: Add tests for store/delete of super attr. 7 years ago
Damien George 7b7bbd0ee7 tests/basics: Add tests for edge cases of nan-box's 47-bit small int. 7 years ago
Damien George dd48ccb1e3 tests/basics: Add test for subclassing an iterable native type. 7 years ago
Damien George df02f5620a tests/basics/int_big1.py: Add test for big int in mp_obj_get_int_maybe. 7 years ago
Damien George 7d5c753b17 tests/basics: Modify int-big tests to prevent constant folding. 7 years ago
Damien George f684e9e1ab tests/basics/int_big1.py: Add test converting str with non-print chars. 7 years ago
Damien George 430efb0444 tests/basics: Add test for use of return within try-except. 7 years ago
Damien George bcfff4fc98 tests/basics/iter1.py: Add more tests for walking a user-defined iter. 7 years ago
Damien George f50b64cab5 py/runtime: Be sure that non-intercepted thrown object is an exception. 7 years ago
Damien George 3280788195 py/runtime: Check that keys in dicts passed as ** args are strings. 7 years ago
Damien George 72adc381fb tests/basics/builtin_enumerate: Add test for many pos args to enumerate. 7 years ago
Damien George 439acddc60 tests/basics/gc1: Add test which triggers GC threshold. 7 years ago
Damien George 22ade2f5c4 py/vm: Fix case of handling raised StopIteration within yield from. 7 years ago
Damien George 90da791a08 tests/basics: Add test for calling a subclass of a native class. 7 years ago
Damien George 160d670868 py/objdeque: Protect against negative maxlen in deque constructor. 7 years ago
Damien George 8f9b113be2 tests/basics: Add tests to improve coverage of py/objdeque.c. 7 years ago
Paul Sokolovsky 4668ec801e tests/basics/deque*: Tests for ucollections.deque. 7 years ago
Damien George 4e469085c1 py/objstr: Protect against creating bytes(n) with n negative. 7 years ago
Damien George 98647e83c7 py/modbuiltins: Simplify and generalise dir() by probing qstrs. 7 years ago
Mike Wadsten a3e01d3642 py/objdict: Disallow possible modifications to fixed dicts. 7 years ago
Damien George d77da83d55 py/objrange: Implement (in)equality comparison between range objects. 7 years ago
Damien George 04c55f5828 tests: Rewrite some tests so they can run without needing eval/exec. 7 years ago