57 Commits (e5a3759ff5478392f914ba7a7346da60d9735bf4)

Author SHA1 Message Date
Paul Sokolovsky 8becca7c82 py: mp_builtin___import__(): Add const to arg type. 10 years ago
Damien George f5d69794a8 extmod: Add uheapq module. 10 years ago
stijn 2fe4cf7761 Implement kwargs for builtin open() and _io.FileIO 10 years ago
Paul Sokolovsky 911c00bbc5 modzlibd: Remove, superceded by moduzlib. 10 years ago
Paul Sokolovsky 34162872b1 moduzlib: Integrate into the system. 10 years ago
Paul Sokolovsky c71e045165 modure: Initial module, using re1.5 (which is based on re1 codebase). 10 years ago
Damien George 612045f53f py: Add native json printing using existing print framework. 10 years ago
Damien George 013d53c0b4 Remove skeletal modselect from extmod and just put it in stmhal. 10 years ago
Damien George 6c9c7bc75a stmhal: Implement generic select.select and select.poll. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Paul Sokolovsky 510296f25a modzlibd: Decompress part of "zlib" module, based on miniz tinfl.c . 10 years ago
Damien George 4c03b3a899 py: Implement builtin reversed() function. 10 years ago
Paul Sokolovsky cb66f41ebc py: Make print() accept "file" argument, and actually print to stream. 10 years ago
Paul Sokolovsky 8215847b4d moductypes: Foreign data interface module, roughly based on ctype ideas. 11 years ago
Paul Sokolovsky 561789d718 unix modsocket: Make .makefile() method more compliant. 11 years ago
Paul Sokolovsky ff30666c69 py: Add basic implementation of hasattr() function. 11 years ago
Paul Sokolovsky f9e54e0ea5 modgc: Add new module for GC-related functionality. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 71d3112f7e py: Make built-in 'range' a class. 11 years ago
Damien George dbdfee15a1 py: Add cmath module, for complex math. Disabled by default. 11 years ago
Damien George 897fe0c0d0 py: Add builtin functions bin and oct, and some tests for them. 11 years ago
Damien George 5805111732 py: Add hex builtin function. 11 years ago
Paul Sokolovsky 14de114ba8 objdict: Add __delitem__. 11 years ago
Paul Sokolovsky cd94b384a3 objdict: Add __setitem__. 11 years ago
Paul Sokolovsky 68e7c5146c py: Factor out impl of special methods for builtin types into opmethods.c 11 years ago
Paul Sokolovsky 5500cdeec7 py, unix: Convert sys module to static representation. 11 years ago
Paul Sokolovsky e9db840480 py: Start implementing "struct" module. 11 years ago
Paul Sokolovsky cc0af3d727 py: Implement globals() and locals() builtins. 11 years ago
Paul Sokolovsky c6813d92db py: Put default namespace into module __main__. 11 years ago
Paul Sokolovsky 98a627dc03 py: Add "io" module. 11 years ago
Paul Sokolovsky e9137b94f2 py: Implement getattr() builtin. 11 years ago
Damien George caac542b23 Proper support for registering builtin modules in ROM. 11 years ago
Damien George 24ff063e80 py: Remove obsolete declarations; make mp_obj_get_array consistent. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Paul Sokolovsky d08fd68664 Add basic collections.namedtuple implementation. 11 years ago
Paul Sokolovsky 1d938c9503 Expose __import__() function. 11 years ago
Damien George ca4767984b py: Implement builtin exec. 11 years ago
Damien George 4acb2452b3 py: Add very basic implementation of dir() builtin. 11 years ago
xbe 0ebf8534ab Implement and add tests for the id() builtin function. 11 years ago
Paul Sokolovsky a80ff04fe7 Add dummy bytes() constructor. 11 years ago
Damien George 91d457a277 py: Put micropython module init code in builtinmp.c. 11 years ago
Paul Sokolovsky 440cc3f028 Expose memory stats functions via "micropython" module. 11 years ago
Damien George d02c6d8962 Implement eval. 11 years ago
Damien George e2fb2baaa4 Implement repr. 11 years ago
Paul Sokolovsky 36c4499d36 Implement str() and repr() builtin functions. 11 years ago
Damien George 2300537c79 Cleanup built-ins, and fix some compiler warnings/errors. 11 years ago
John R. Lenton 5c76839559 sorted 11 years ago
Damien George 004cdcebfe py: Implement base class lookup, issubclass, isinstance. 11 years ago
Damien George b97669ab94 py: Improve __build_class__. 11 years ago
Damien George 40563d56bd py: Add framework for built-in "type()" function. 11 years ago