| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-09 | py: str.join can now take arbitrary iterable as argument. | Damien George | |
| 2014-04-09 | py: Generators can have their locals closed over. | Damien George | |
| 2014-04-09 | py: Properly implement deletion of locals and derefs, and detect errors. | Damien George | |
| Needed to reinstate 2 delete opcodes, to specifically check that a local is not deleted twice. | |||
| 2014-04-09 | objint: Implement int.from_bytes() class method and .to_bytes() method. | Paul Sokolovsky | |
| These two are apprerently the most concise and efficient way to convert int to/from bytes in Python. The alternatives are struct and array modules, but methods using them are more verbose in Python code and less efficient in memory/cycles. | |||
| 2014-04-08 | tests: Oops: fix del-attr. | Damien George | |
| 2014-04-08 | py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. | Damien George | |
| This makes the runtime and object APIs more consistent. mp_store_subscr functionality now moved into objects (ie list and dict store_item). | |||
| 2014-04-08 | py: Make bytearray a proper type. | Paul Sokolovsky | |
| 2014-04-08 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-08 | py: implement UNPACK_EX byte code (for: a, *b, c = d) | Damien George | |
| 2014-04-08 | bytearray: Support bytearray(int) constructor. | Paul Sokolovsky | |
| To create bytearray of given length. | |||
| 2014-04-08 | Display \r and \t escape codes in string repr | Andrew Scheller | |
| 2014-04-07 | Add string formatting support for longlong and mpz. | Dave Hylands | |
| 2014-04-07 | Merge pull request #445 from lurch/test-sorted-sets | Damien George | |
| Modify set tests to print sorted sets directly | |||
| 2014-04-07 | Modify set tests to print sorted sets directly | Andrew Scheller | |
| instead of creating temporary lists and sorting those in-place | |||
| 2014-04-07 | Add tests for sorted() function | Andrew Scheller | |
| and check that sorted(list) produces same output as list.sort() | |||
| 2014-04-07 | tests: Fix more tests which depend on order of elements in set. | Paul Sokolovsky | |
| 2014-04-07 | tests: Fix few tests which depend on order of elements in set. | Paul Sokolovsky | |
| 2014-04-07 | tests: Fix tests with sets to print sorted set. | Damien George | |
| 2014-04-07 | py: Fix str.replace for case when arg 0 or 1 is empty string. | Damien George | |
| 2014-04-06 | tests: Fix few tests which depend on order of elements in dict. | Paul Sokolovsky | |
| With dict being unordered of course. | |||
| 2014-04-06 | tests/dict2.py: Add combined test for dict(dict) and dict equality. | Paul Sokolovsky | |
| 2014-04-06 | py: str.split: handle non-default separator. | Damien George | |
| 2014-04-05 | tests: Add test to check issue #429. | Damien George | |
| 2014-04-05 | Merge pull request #435 from dhylands/str-modulo-float | Damien George | |
| Allow floating point arguments with %d,i,u,o,x,X formats | |||
| 2014-04-05 | Merge pull request #433 from pfalcon/getattr-3arg | Damien George | |
| py: Support 3-arg getattr() builtin (with default value). | |||
| 2014-04-05 | py: Fix delete operation on map/dict and set objects. | Damien George | |
| Hash table can now be completely full (ie now NULL entry) before a resize is triggered. Use sentinel value to indicate delete entry in the table. | |||
| 2014-04-05 | Allow floating point arguments with %d,i,u,o,x,X formats | Dave Hylands | |
| 2014-04-05 | tests: Add test for dict delete. It fails. | Damien George | |
| 2014-04-05 | py: Support 3-arg getattr() builtin (with default value). | Paul Sokolovsky | |
| 2014-04-05 | objtype: Add equality test for type types. | Paul Sokolovsky | |
| 2014-04-05 | py: Allow types to be hashable. | Paul Sokolovsky | |
| Quite natural to have d[int] = handle_int . | |||
| 2014-04-04 | Merge pull request #422 from dhylands/str-modulo | Damien George | |
| Str modulo | |||
| 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-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-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 | Add more tests. | Damien George | |
| 2014-04-02 | py: Factor out static/class method unwrapping code; add tests. | 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. | |||
