332 Commits (d3f82bc42576ccd80206a17a4941fd5c28c56530)

Author SHA1 Message Date
Paul Sokolovsky 2705f4c782 objlist: Implement growing slice assignment. 11 years ago
Paul Sokolovsky afaaf535e6 objslice: Support arbitrary objects start, stop, and step. 11 years ago
Damien George 7a4ddd2428 Add SystemExit exception and use it in unix/ and stmhal/ ports. 11 years ago
Damien George 6ac5dced24 py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 11 years ago
Paul Sokolovsky ab7bf28489 py: More const usage. 11 years ago
Paul Sokolovsky a47b64ae2d objstringio: Implement io.BytesIO. 11 years ago
Damien George 2323ef9182 py: Rename globally-accessible tuple functions, prefix with mp_obj_. 11 years ago
Paul Sokolovsky ea9708092e objtuple: Go out of the way to support comparison of subclasses. 11 years ago
Paul Sokolovsky 7aca1cae34 py: Start making good use of mp_const_obj_t. 11 years ago
Paul Sokolovsky 94d8246272 objlist: Implement non-growing slice assignment. 11 years ago
Paul Sokolovsky d915a52eb6 py: Fix prefix on few sequence helpers, was incorrectly "mp_". 11 years ago
Paul Sokolovsky b181b581aa objset: Give up and implement frozenset. 11 years ago
Damien George d0a5bf34f7 py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED. 11 years ago
Damien George a32c1e41cc py: Improve native emitter; now supports more opcodes. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky 418aca976c objclosure, objcell: Print detailed representation if was requested. 11 years ago
Paul Sokolovsky d8351ca8a0 objtype: .print() Exception instances in adhoc way. 11 years ago
Paul Sokolovsky c3103b55c1 objgenerator: .print(): Output real underlying function name. 11 years ago
Paul Sokolovsky a224067846 py: Clear allocated, but unused memory in containers. 11 years ago
Damien George 2827d62e8b py: Implement keyword-only args. 11 years ago
Paul Sokolovsky cb9dc086a3 modio: Implement io.StringIO class. 11 years ago
Paul Sokolovsky dec31bb872 objexcept: Add mp_obj_new_exception_arg1() convenience function. 11 years ago
Damien George 3558f62fb5 py: Making closures now passes pointer to stack, not a tuple for vars. 11 years ago
Paul Sokolovsky 4602b9a79f obj.h: Typo fix in comment. 11 years ago
Damien George b11b85adaa py: Allow to pass buffer protocol flags to get_buffer helper funcs. 11 years ago
Damien George 57a4b4f178 py: Add typecode to buffer protocol. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George de7c425139 py: Simplify objfun/objgenerator connection, no need to call bc_get. 11 years ago
Damien George 71d3112f7e py: Make built-in 'range' a class. 11 years ago
Damien George 777b0f32f4 py: Add property object, with basic functionality. 11 years ago
Paul Sokolovsky 18bef25a0c objlist: Add support for statically allocated lists. 11 years ago
Damien George 2813cb6043 py: Add 'static' to inline function MP_BOOL; remove category_t. 11 years ago
Damien George db049c2e00 py: Change inline to static inline for 2 functions. 11 years ago
Damien George 1184094839 py: Revert some inline functions back to macros, since they bloat stmhal. 11 years ago
Damien George a5c82a8187 py: Convert some macros to inline functions (in obj.h). 11 years ago
Damien George ae491055fa py: Fix float/complex binop returning NULL; implement complex power. 11 years ago
Damien George b5fbd0ba87 py: Add mp_obj_is_integer; make mp_get_index check for long int. 11 years ago
Paul Sokolovsky 3aa8ee7c9e py: Add mp_get_buffer(), mp_get_buffer_raise() convenience functions to API. 11 years ago
Damien George f4c9b33abf py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. 11 years ago
Damien George 1d24ea5207 py: Finish implementation of all del opcodes. 11 years ago
Paul Sokolovsky 4dcb605ac4 py: Make bytearray a proper type. 11 years ago
Damien George 495d781a36 py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
Damien George 27e735fd18 py: Replace stream_p with *stream_p in mp_obj_type_t. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George 95004e5114 py: Fix delete operation on map/dict and set objects. 11 years ago
mux cc849f70f4 Move del to locals 11 years ago
Damien George 66edc5d899 py: Implement DELETE_SUBSCR bytecode; implement mp_obj_dict_delete. 11 years ago
Paul Sokolovsky e3f58c8380 map: Add mp_map_dump() (#ifdef'ed) to be handy when debugging maps. 11 years ago
Damien George 36f0ee1a54 py: Remove mp_obj_less (use mp_binary_op(MP_BINARY_OP_LESS..) instead). 11 years ago