summaryrefslogtreecommitdiffstatshomepage
path: root/py
Commit message (Collapse)AuthorAge
* 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
| |
| * make dict_len use the map's used countJohn R. Lenton2014-01-07
| |
| * Added dict.clear.John R. Lenton2014-01-07
| | | | | | | | Added 0 to the list of primes. Funky primes, these.
| * Added dict iterator.John R. Lenton2014-01-07
| |
| * Typo fix in comment.Paul Sokolovsky2014-01-07
| |
| * Use constructor to create small int (avoid exposing mp_obj_t internals to VM).Paul Sokolovsky2014-01-07
| |
* | py: Small big fix to type declarations.Damien George2014-01-07
| |
* | Merge pull request #105 from chipaca/listsortDamien George2014-01-07
|\ \ | | | | | | A more python-style list.sort. And keyword arguments.
| * | A bit of stylistic cleanup (chose the wrong side during conflict resolution).John R. Lenton2014-01-07
| | |
| * | Merge remote-tracking branch 'upstream/master' into listsort. Lots of ↵John R. Lenton2014-01-07
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conflict fun. Conflicts: py/obj.h py/objbool.c py/objboundmeth.c py/objcell.c py/objclass.c py/objclosure.c py/objcomplex.c py/objdict.c py/objexcept.c py/objfun.c py/objgenerator.c py/objinstance.c py/objmodule.c py/objrange.c py/objset.c py/objslice.c
| * | | This implements a better (more python-conformant) list.sort.John R. Lenton2014-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's not really about that, though; it's about me figuring out a sane way forward for keyword-argument functions (and function metadata). But it's useful as is, and shouldn't break any existing code, so here you have it; I'm going to park it in my mind for a bit while sorting out the rest of the dict branch.
* | | | Add OSError, Python 3.3 generic I/O exception.Paul Sokolovsky2014-01-07
| |/ / |/| |
* | | py: Fix allocation of unique code blocks.Damien George2014-01-07
| | |
* | | Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵Damien George2014-01-07
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ian-v-cplusplus Conflicts: py/objcomplex.c
| * | | Make list and str method tables statician-v2014-01-06
| | | |
| * | | Revert MP_BOOL, etc. and use <stdbool.h> insteadian-v2014-01-06
| | | |
| * | | Co-exist with C++ (issue #85)ian-v2014-01-06
| | |/ | |/|
* | | Factor and simplify Makefile's and mpconfig, part 2.Damien George2014-01-07
| | |
* | | Factor and simplify Makefile's and mpconfig.Damien George2014-01-07
| |/ |/|
* | Merge branch 'master' of github.com:dpgeorge/micropythonDamien George2014-01-06
|\ \
| * | Typo fix in comment.Paul Sokolovsky2014-01-06
| | |
| * | Use constructor to create small int (avoid exposing mp_obj_t internals to VM).Paul Sokolovsky2014-01-06
| |/
| * Merge remote-tracking branch 'upstream/master' into list_reverseJohn R. Lenton2014-01-06
| |\
| * \ Merge remote-tracking branch 'upstream/master' into list_reverseJohn R. Lenton2014-01-05
| |\ \
| * | | Implements list.reverse; fixes issue #66John R. Lenton2014-01-04
| | | |
* | | | py: Fix up number operations and coercion.Damien George2014-01-06
| |_|/ |/| |
* | | Merge branch 'list_remove' of git://github.com/chipaca/micropython into ↵Damien George2014-01-05
|\ \ \ | | | | | | | | | | | | chipaca-list_remove
| * \ \ Merge remote-tracking branch 'upstream/master' into list_removeJohn R. Lenton2014-01-05
| |\ \ \ | | |/ / | |/| / | | |/
| * | Implements list.remove (in terms of list.index and list.pop).John R. Lenton2014-01-04
| | | | | | | | | | | | Fixes issue #63.
* | | Merge pull request #92 from chipaca/list_insertDamien George2014-01-05
|\ \ \ | | | | | | | | List insert. Fixes issue #61.
| * \ \ Merge remote-tracking branch 'upstream/master' into list_insertJohn R. Lenton2014-01-05
| |\ \ \ | | |/ / | |/| / | | |/
| * | Merge remote-tracking branch 'upstream/master' into list_insertJohn R. Lenton2014-01-04
| |\ \
| * | | Implements list.insert. Fixes issue #61.John R. Lenton2014-01-04
| | | |