summaryrefslogtreecommitdiff
path: root/py/objtuple.c
AgeCommit message (Collapse)Author
2014-01-14Merge pull request #165 from chipaca/builtinsDamien George
added zip()
2014-01-14Add objtuple.h to allow embedding of tuples inside other objects.Paul Sokolovsky
This is useful because tuple is closest analog of C static array.
2014-01-13added zip()John R. Lenton
2014-01-09py: Implement base class lookup, issubclass, isinstance.Damien George
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-07Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ↵Damien George
ian-v-cplusplus Conflicts: py/objcomplex.c
2014-01-06Revert MP_BOOL, etc. and use <stdbool.h> insteadian-v
2014-01-06Co-exist with C++ (issue #85)ian-v
2014-01-05Convert many object types structs to use C99 tagged initializer syntax.Paul Sokolovsky
2014-01-04Convert Python types to proper Python type hierarchy.Damien George
Now much more inline with how CPython does types.
2013-12-21Change object representation from 1 big union to individual structs.Damien
A big change. Micro Python objects are allocated as individual structs with the first element being a pointer to the type information (which is itself an object). This scheme follows CPython. Much more flexible, not necessarily slower, uses same heap memory, and can allocate objects statically. Also change name prefix, from py_ to mp_ (mp for Micro Python).