| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-06-13 | py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin. | Damien George | |
| 2015-05-27 | unix: Add option to use uPy readline, and enable by default. | Damien George | |
| This gets uPy readline working with unix port, with tab completion and history. GNU readline is still supported, configure using MICROPY_USE_READLINE variable. | |||
| 2015-05-12 | py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. | Damien George | |
| Hashing is now done using mp_unary_op function with MP_UNARY_OP_HASH as the operator argument. Hashing for int, str and bytes still go via fast-path in mp_unary_op since they are the most common objects which need to be hashed. This lead to quite a bit of code cleanup, and should be more efficient if anything. It saves 176 bytes code space on Thumb2, and 360 bytes on x86. The only loss is that the error message "unhashable type" is now the more generic "unsupported type for __hash__". | |||
| 2015-05-06 | py: Fix naming of function arguments when function is a closure. | Damien George | |
| Addresses issue #1226. | |||
| 2015-05-05 | tests: Fix cmd_showbc now that LOAD_CONST_ELLIPSIS bytecode is gone. | Damien George | |
| 2015-04-24 | py: Modify bytecode "with" behaviour so it doesn't use any heap. | Damien George | |
| Before this patch a "with" block needed to create a bound method object on the heap for the __exit__ call. Now it doesn't because we use load_method instead of load_attr, and save the method+self on the stack. | |||
| 2015-04-07 | py: Simplify bytecode prelude when encoding closed over variables. | Damien George | |
| 2015-04-04 | tests: Add missing tests for builtins, and many other things. | Damien George | |
| 2015-03-20 | tests: Adjust expected output, since Travis can't do git describe. | Damien George | |
| 2015-03-20 | tests: Make cmdline tests more stable by using regex for matching. | Damien George | |
| 2015-03-14 | tests: Don't try to verify amount of memory used in cmd_showbc test. | Damien George | |
| 2015-03-14 | tests: Add cmdline test to test showbc code. | Damien George | |
| 2015-03-13 | tests: Add ability to test uPy cmdline executable. | Damien George | |
| This allows to test options passed to cmdline executable, as well as the behaviour of the REPL. | |||
