summaryrefslogtreecommitdiffstatshomepage
path: root/py
Commit message (Collapse)AuthorAge
* add more tests and remove debug codexyb2014-01-15
|
* int() test passedxyb2014-01-15
|
* support int(str, basbase)xyb2014-01-14
|
* Implemented int(str) in UNIXxyb2014-01-14
|
* rt_binary_op(): Don't fall thru in case small_int op result doesn't fit back.Paul Sokolovsky2014-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 Sokolovsky2014-01-12
|
* py: Implement staticmethod and classmethod (internally).Damien George2014-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 George2014-01-11
|
* py: Fix emitcpy and emitnative's binary_op.Damien George2014-01-11
|
* Merge branch 'master' of github.com:dpgeorge/micropythonDamien George2014-01-11
|\
| * unified the bopsJohn R. Lenton2014-01-11
| |
* | py: Make arg to MP_BC_RAISE_VARARGS a byte.Damien George2014-01-11
|/
* Merge pull request #136 from pfalcon/for-range-downtoDamien George2014-01-10
|\ | | | | compile_for_stmt_optimised_range(): Properly handle negative & unknown s...
| * compile_for_stmt_optimised_range(): Properly handle negative & unknown steps.Paul Sokolovsky2014-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-raiseDamien George2014-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 Sokolovsky2014-01-11
| |/
* | Merge pull request #134 from pfalcon/list-mulDamien George2014-01-10
|\ \ | | | | | | list: Implement list multiplication.
| * | list: Implement list multiplication.Paul Sokolovsky2014-01-11
| |/
* | Merge pull request #131 from chipaca/dict_fromkeysDamien George2014-01-10
|\ \ | |/ |/| Added dict.fromkeys.
| * Added dict.fromkeys. Are we done with dict and #99 yet? I do think we are.John R. Lenton2014-01-10
| |
* | Unsupported operand types for binary operator: dump both args' types.Paul Sokolovsky2014-01-11
| |
* | mp_obj_equal(): Print which types' equality not implemented before assert().Paul Sokolovsky2014-01-11
| |
* | mp_repl_is_compound_stmt(): Thinko fix s/true/try/.Paul Sokolovsky2014-01-11
| |
* | Dump few more bytecodes (based on attempt to run real-world code).Paul Sokolovsky2014-01-11
|/
* dict views now, refactoring later.John R. Lenton2014-01-10
|
* Use memcpy instead of strncpy; add usart.status to stm.Damien George2014-01-09
|
* Merge pull request #123 from xbe/masterDamien George2014-01-09
|\ | | | | Implement str.strip
| * Implement str.stripxbe2014-01-08
| |
* | py: Implement base class lookup, issubclass, isinstance.Damien George2014-01-09
| |
* | Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr.Damien George2014-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-quieterDamien George2014-01-08
|\ | | | | Make build output quieter.
| * Make build output quieter.Dave Hylands2014-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 George2014-01-08
|/
* py: add variable argument exception constructor function.Damien George2014-01-08
| | | | Addresses issue #104.
* Merge pull request #114 from pfalcon/streams-bootstrapDamien George2014-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 Sokolovsky2014-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 Sokolovsky2014-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 George2014-01-08
|/
* Move lexerstr to main py directory (everyone uses it).Damien George2014-01-08
|
* py: Improve __build_class__.Damien George2014-01-08
|
* Merge pull request #108 from chipaca/dict_featsDamien George2014-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. Lenton2014-01-07
| |
| * Merge remote-tracking branch 'upstream/master' into dict_featsJohn R. Lenton2014-01-07
| |
| * added a first pass of dict.updateJohn R. Lenton2014-01-07
| |
| * py: Fix up number operations and coercion.Damien George2014-01-07
| |
| * Added dict.setdefaultJohn R. Lenton2014-01-07
| |
| * Added dict.popitemJohn R. Lenton2014-01-07
| |
| * implemented dict.popJohn R. Lenton2014-01-07
| |
| * Added dict.get.John R. Lenton2014-01-07
| |
| * Added dict.copyJohn R. Lenton2014-01-07
| |