| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-05 | py: Allow types to be hashable. | Paul Sokolovsky | |
| Quite natural to have d[int] = handle_int . | |||
| 2014-04-04 | run-tests: Elaborate python3 command override capabilities. | Paul Sokolovsky | |
| 2014-04-04 | Merge pull request #422 from dhylands/str-modulo | Damien George | |
| Str modulo | |||
| 2014-04-04 | tests: Make rge-sm.py use less memory (integration step increased). | Damien George | |
| In addition to memory allocation failure, other problem was that 10**17 was overflowing. Now passes. | |||
| 2014-04-04 | py: Add m_malloc_fail function to handle memory allocation error. | Damien George | |
| A malloc/realloc fail now throws MemoryError. | |||
| 2014-04-04 | tests/file-with: Add testcase which failed for @dpgeorge. | Paul Sokolovsky | |
| Works on x86. | |||
| 2014-04-03 | Implements most of str.modulo | Dave Hylands | |
| The alternate form for floating point doesn't work yet. The %(name)s form doesn't work yet. | |||
| 2014-04-03 | Changes to get unix/ port compiling on Cygwin. | Damien George | |
| 2014-04-03 | tests: Allow to run tests on pyboard. | Damien George | |
| To run the tests on the pyboard you need to set the "test_on_pyboard" variable to "True", and also have tools/pyboard.py available for import (easiest is to symlink to it). | |||
| 2014-04-03 | run-tests: Allow to override python3 command to use via environment var. | Paul Sokolovsky | |
| 2014-04-03 | unix file: Implement context manager protocol (for "with" statement). | Paul Sokolovsky | |
| 2014-04-02 | py: Fix regress for printing of floats and #if. | Damien George | |
| Also change formating modifier in test script (it still passes with original format though). | |||
| 2014-04-02 | tests/string-format: Add test for formatting ints with float format. | Paul Sokolovsky | |
| Fail currently. | |||
| 2014-04-02 | Change test scripts to use python3; bytecode tests use python3.4. | Damien George | |
| I upgraded to Python 3.4.0, so needed to make these changes. Hopefully the tests still run with Python 3.3.x (the scripts use python3 so are agnostic as to the subversion). Bytecode tests are tightly coupled to the Python version, and now some fail against Python 3.4. | |||
| 2014-04-02 | Add more tests. | Damien George | |
| 2014-04-02 | py: Factor out static/class method unwrapping code; add tests. | Damien George | |
| 2014-04-02 | Add a test. | Damien George | |
| 2014-04-02 | py: Add support for sep and end keywords in print. | Damien George | |
| 2014-04-01 | py: Fix math.{ceil,floor,trunc} to return int. | Damien George | |
| 2014-04-01 | Turn off full tests in string-format.py | Dave Hylands | |
| Add some basic coverage tests | |||
| 2014-04-01 | tests: Add test for implicit float to int conversion (not allowed!) | Paul Sokolovsky | |
| 2014-04-01 | Enhance str.format support | Dave Hylands | |
| This adds support for almost everything (the comma isn't currently supported). The "unspecified" type with floats also doesn't behave exactly like python. Tested under unix with float and double Spot tested on stmhal | |||
| 2014-03-31 | py: Implement __getattr__. | Damien George | |
| It's not completely satisfactory, because a failed call to __getattr__ should not raise an exception. __setattr__ could be implemented, but it would slow down all stores to a user created object. Need to implement some caching system. | |||
| 2014-03-31 | objstr: Very basic implementation of % string formatting operator. | Paul Sokolovsky | |
| 2014-03-31 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-03-31 | py: Fix bug in optimised for .. range. | Damien George | |
| Don't store final, failing value to the loop variable. This fix also makes for .. range a bit more efficient, as it uses less store/load pairs for the loop variable. | |||
| 2014-03-31 | tests: Add testcase for multiple inheritance. | Paul Sokolovsky | |
| 2014-03-31 | py: Properly implement divide-by-zero handling. | Paul Sokolovsky | |
| "1/0" is sacred idiom, the shortest way to break program execution (sys.exit() is too long). | |||
| 2014-03-30 | Merge pull request #399 from pfalcon/gen-defargs | Damien George | |
| objgenerator: Handle default args to generator functions. | |||
| 2014-03-30 | py: Fix "TypeError: 'iterator' object is not iterable", doh. | Paul Sokolovsky | |
| 2014-03-30 | py: Implement support for generalized generator protocol. | Paul Sokolovsky | |
| Iterators and ducktype objects can now be arguments of yield from. | |||
| 2014-03-30 | py: Implement positional and keyword args via * and **. | Damien George | |
| Extends previous implementation with * for function calls to * and ** for both function and method calls. | |||
| 2014-03-30 | objgenerator: Handle default args to generator functions. | Paul Sokolovsky | |
| Addresses #397. | |||
| 2014-03-30 | vm: Implement CALL_FUNCTION_VAR opcode (foo(*(1, 2, 3))). | Paul Sokolovsky | |
| 2014-03-30 | Add "tracing" to try-reraise2.py test. It now fails. | Damien George | |
| 2014-03-30 | vm: Save current active exception on opening new try block. | Paul Sokolovsky | |
| Required to reraise correct exceptions in except block, regardless if more try blocks with active exceptions happen in the same except block. P.S. This "automagic reraise" appears to be quite wasteful feature of Python - we need to save pending exception just in case it *might* be reraised. Instead, programmer could explcitly capture exception to a variable using "except ... as var", and reraise that. So, consider disabling argless raise support as an optimization. | |||
| 2014-03-29 | py: Reraising exception possible only in except block. | Paul Sokolovsky | |
| 2014-03-29 | Merge pull request #389 from pfalcon/with-statement | Damien George | |
| With statement implementation | |||
| 2014-03-29 | Merge pull request #383 from pfalcon/yield-from | Damien George | |
| Implement "yield from" | |||
| 2014-03-29 | tests: Remove unimplemented exceptions from testing. | Damien George | |
| 2014-03-29 | tests: Add "with" statement testcases. | Paul Sokolovsky | |
| 2014-03-28 | tests: Add testcases for yield from. | Paul Sokolovsky | |
| 2014-03-26 | Merge pull request #381 from pfalcon/closure-defargs | Damien George | |
| py: Support closures with default args. | |||
| 2014-03-27 | py: Implement getattr() builtin. | Paul Sokolovsky | |
| 2014-03-26 | py: Support closures with default args. | Paul Sokolovsky | |
| 2014-03-26 | py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. | Damien George | |
| 2014-03-26 | Merge pull request #379 from pfalcon/reraise | Damien George | |
| vm: Implement raise statement w/o args (reraising last exception). | |||
| 2014-03-26 | Merge branch 'gen-close-ret-val' of github.com:pfalcon/micropython into ↵ | Damien George | |
| pfalcon-gen-close-ret-val | |||
| 2014-03-26 | vm: Implement raise statement w/o args (reraising last exception). | Paul Sokolovsky | |
| 2014-03-26 | objgenerator: Implement return with value and .close() method. | Paul Sokolovsky | |
| Return with value gets converted to StopIteration(value). Implementation keeps optimizing against creating of possibly unneeded exception objects, so there're considerable refactoring to implement these features. | |||
