Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | add more tests and remove debug code | xyb | 2014-01-15 |
| | |||
* | int() test passed | xyb | 2014-01-15 |
| | |||
* | support int(str, basbase) | xyb | 2014-01-14 |
| | |||
* | Implemented int(str) in UNIX | xyb | 2014-01-14 |
| | |||
* | rt_binary_op(): Don't fall thru in case small_int op result doesn't fit back. | Paul Sokolovsky | 2014-01-12 |
| | | | | | Currently it would report "operation not supported" which is confusing. Overall, this is thinko leading to undefined behavior. | ||
* | list: Add extend() methods and += operator. | Paul Sokolovsky | 2014-01-12 |
| | |||
* | py: Implement staticmethod and classmethod (internally). | Damien George | 2014-01-11 |
| | | | | Still need to make built-ins by these names, and write tests. | ||
* | py: Fix bug where == and != not handled for small_ints. | Damien George | 2014-01-11 |
| | |||
* | py: Fix emitcpy and emitnative's binary_op. | Damien George | 2014-01-11 |
| | |||
* | Merge branch 'master' of github.com:dpgeorge/micropython | Damien George | 2014-01-11 |
|\ | |||
| * | unified the bops | John R. Lenton | 2014-01-11 |
| | | |||
* | | py: Make arg to MP_BC_RAISE_VARARGS a byte. | Damien George | 2014-01-11 |
|/ | |||
* | Merge pull request #136 from pfalcon/for-range-downto | Damien George | 2014-01-10 |
|\ | | | | | compile_for_stmt_optimised_range(): Properly handle negative & unknown s... | ||
| * | compile_for_stmt_optimised_range(): Properly handle negative & unknown steps. | Paul Sokolovsky | 2014-01-11 |
| | | | | | | | | | | If step is not constant, in first approximation, we can't apply optimization, (well, we could, but need a special case for this). | ||
* | | Merge pull request #135 from pfalcon/simple-raise | Damien George | 2014-01-10 |
|\ \ | | | | | | | Crude attempt to implement RAISE_VARARGS (with args=1 so far only). | ||
| * | | Crude attempt to implement RAISE_VARARGS (with args=1 so far only). | Paul Sokolovsky | 2014-01-11 |
| |/ | |||
* | | Merge pull request #134 from pfalcon/list-mul | Damien George | 2014-01-10 |
|\ \ | | | | | | | list: Implement list multiplication. | ||
| * | | list: Implement list multiplication. | Paul Sokolovsky | 2014-01-11 |
| |/ | |||
* | | Merge pull request #131 from chipaca/dict_fromkeys | Damien George | 2014-01-10 |
|\ \ | |/ |/| | Added dict.fromkeys. | ||
| * | Added dict.fromkeys. Are we done with dict and #99 yet? I do think we are. | John R. Lenton | 2014-01-10 |
| | | |||
* | | Unsupported operand types for binary operator: dump both args' types. | Paul Sokolovsky | 2014-01-11 |
| | | |||
* | | mp_obj_equal(): Print which types' equality not implemented before assert(). | Paul Sokolovsky | 2014-01-11 |
| | | |||
* | | mp_repl_is_compound_stmt(): Thinko fix s/true/try/. | Paul Sokolovsky | 2014-01-11 |
| | | |||
* | | Dump few more bytecodes (based on attempt to run real-world code). | Paul Sokolovsky | 2014-01-11 |
|/ | |||
* | dict views now, refactoring later. | John R. Lenton | 2014-01-10 |
| | |||
* | Use memcpy instead of strncpy; add usart.status to stm. | Damien George | 2014-01-09 |
| | |||
* | Merge pull request #123 from xbe/master | Damien George | 2014-01-09 |
|\ | | | | | Implement str.strip | ||
| * | Implement str.strip | xbe | 2014-01-08 |
| | | |||
* | | py: Implement base class lookup, issubclass, isinstance. | Damien George | 2014-01-09 |
| | | |||
* | | Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. | Damien George | 2014-01-09 |
|/ | | | | | Creating of classes (types) and instances is much more like CPython now. You can use "type('name', (), {...})" to create classes. | ||
* | Merge pull request #120 from dhylands/make-build-quieter | Damien George | 2014-01-08 |
|\ | | | | | Make build output quieter. | ||
| * | Make build output quieter. | Dave Hylands | 2014-01-08 |
| | | | | | | | | | | | | Use make V=1e make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. This should fix issue #117 | ||
* | | py: Proper framework for built-in 'type'. | Damien George | 2014-01-08 |
|/ | |||
* | py: add variable argument exception constructor function. | Damien George | 2014-01-08 |
| | | | | Addresses issue #104. | ||
* | Merge pull request #114 from pfalcon/streams-bootstrap | Damien George | 2014-01-08 |
|\ | | | | | Define buffer and stream protocols, and other starting bits of io.* framework, with io.FileIO-like implementation for Unix | ||
| * | Add generic implementations of Python read()/write methods for streams. | Paul Sokolovsky | 2014-01-08 |
| | | | | | | | | | | These can be used for any object which implements stream protocol (mp_stream_p_t). | ||
| * | Add support for stream and buffer protocols. | Paul Sokolovsky | 2014-01-08 |
| | | | | | | | | | | | | | | | | | | Stream protocol is abstraction of serial I/O. Buffer protocol is abstraction of random-access I/O. These protocols are defined down to C level, to allow generic, while still efficient algorithms to be coded in C (like, buffered transfer between 2 stream objects, saving/loading of buffer object to/from stream, etc). (Note that CPython define buffer protocol on C level, but apparently not stream protocol). | ||
* | | py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. | Damien George | 2014-01-08 |
|/ | |||
* | Move lexerstr to main py directory (everyone uses it). | Damien George | 2014-01-08 |
| | |||
* | py: Improve __build_class__. | Damien George | 2014-01-08 |
| | |||
* | Merge pull request #108 from chipaca/dict_feats | Damien George | 2014-01-07 |
|\ | | | | | Dictionary features that don't involve views or classmethods. First part of issue #99. | ||
| * | Moved dict methods out to a mp_method_t. | John R. Lenton | 2014-01-07 |
| | | |||
| * | Merge remote-tracking branch 'upstream/master' into dict_feats | John R. Lenton | 2014-01-07 |
| | | |||
| * | added a first pass of dict.update | John R. Lenton | 2014-01-07 |
| | | |||
| * | py: Fix up number operations and coercion. | Damien George | 2014-01-07 |
| | | |||
| * | Added dict.setdefault | John R. Lenton | 2014-01-07 |
| | | |||
| * | Added dict.popitem | John R. Lenton | 2014-01-07 |
| | | |||
| * | implemented dict.pop | John R. Lenton | 2014-01-07 |
| | | |||
| * | Added dict.get. | John R. Lenton | 2014-01-07 |
| | | |||
| * | Added dict.copy | John R. Lenton | 2014-01-07 |
| | |