summaryrefslogtreecommitdiff
path: root/py
AgeCommit message (Collapse)Author
2014-01-08py: Proper framework for built-in 'type'.Damien George
2014-01-08py: add variable argument exception constructor function.Damien George
Addresses issue #104.
2014-01-08Merge pull request #114 from pfalcon/streams-bootstrapDamien George
Define buffer and stream protocols, and other starting bits of io.* framework, with io.FileIO-like implementation for Unix
2014-01-08py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t.Damien George
2014-01-08Add generic implementations of Python read()/write methods for streams.Paul Sokolovsky
These can be used for any object which implements stream protocol (mp_stream_p_t).
2014-01-08Add support for stream and buffer protocols.Paul Sokolovsky
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).
2014-01-08Move lexerstr to main py directory (everyone uses it).Damien George
2014-01-08py: Improve __build_class__.Damien George
2014-01-07Merge pull request #108 from chipaca/dict_featsDamien George
Dictionary features that don't involve views or classmethods. First part of issue #99.
2014-01-07py: Small big fix to type declarations.Damien George
2014-01-07Moved dict methods out to a mp_method_t.John R. Lenton
2014-01-07Merge remote-tracking branch 'upstream/master' into dict_featsJohn R. Lenton
2014-01-07added a first pass of dict.updateJohn R. Lenton
2014-01-07py: Fix up number operations and coercion.Damien George
2014-01-07Added dict.setdefaultJohn R. Lenton
2014-01-07Added dict.popitemJohn R. Lenton
2014-01-07implemented dict.popJohn R. Lenton
2014-01-07Added dict.get.John R. Lenton
2014-01-07Added dict.copyJohn R. Lenton
2014-01-07make dict_len use the map's used countJohn R. Lenton
2014-01-07Added dict.clear.John R. Lenton
Added 0 to the list of primes. Funky primes, these.
2014-01-07Added dict iterator.John R. Lenton
2014-01-07Typo fix in comment.Paul Sokolovsky
2014-01-07Use constructor to create small int (avoid exposing mp_obj_t internals to VM).Paul Sokolovsky
2014-01-07Merge pull request #105 from chipaca/listsortDamien George
A more python-style list.sort. And keyword arguments.
2014-01-07Add OSError, Python 3.3 generic I/O exception.Paul Sokolovsky
2014-01-07A bit of stylistic cleanup (chose the wrong side during conflict resolution).John R. Lenton
2014-01-07Merge remote-tracking branch 'upstream/master' into listsort. Lots of ↵John R. Lenton
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
2014-01-07This implements a better (more python-conformant) list.sort.John R. Lenton
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.
2014-01-07py: Fix allocation of unique code blocks.Damien George
2014-01-07Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵Damien George
ian-v-cplusplus Conflicts: py/objcomplex.c
2014-01-07Factor and simplify Makefile's and mpconfig, part 2.Damien George
2014-01-07Factor and simplify Makefile's and mpconfig.Damien George
2014-01-06Make list and str method tables statician-v
2014-01-06Merge branch 'master' of github.com:dpgeorge/micropythonDamien George
2014-01-06py: Fix up number operations and coercion.Damien George
2014-01-06Revert MP_BOOL, etc. and use <stdbool.h> insteadian-v
2014-01-06Co-exist with C++ (issue #85)ian-v
2014-01-06Typo fix in comment.Paul Sokolovsky
2014-01-06Use constructor to create small int (avoid exposing mp_obj_t internals to VM).Paul Sokolovsky
2014-01-06Merge remote-tracking branch 'upstream/master' into list_reverseJohn R. Lenton
2014-01-05Merge branch 'list_remove' of git://github.com/chipaca/micropython into ↵Damien George
chipaca-list_remove
2014-01-05Merge pull request #92 from chipaca/list_insertDamien George
List insert. Fixes issue #61.
2014-01-05Merge pull request #91 from chipaca/list_indexDamien George
Fix off-by-one in non-default values of index's 2nd and 3rd arguments.
2014-01-05Merge pull request #89 from pfalcon/c99-tagged-structsDamien George
Convert many object types structs to use C99 tagged initializer syntax.
2014-01-05Merge remote-tracking branch 'upstream/master' into list_reverseJohn R. Lenton
2014-01-05Merge remote-tracking branch 'upstream/master' into list_removeJohn R. Lenton
2014-01-05Merge remote-tracking branch 'upstream/master' into list_insertJohn R. Lenton
2014-01-05Fix off-by-one in non-default values of index's 2nd and 3rd arguments.John R. Lenton
2014-01-05Convert many object types structs to use C99 tagged initializer syntax.Paul Sokolovsky