30 Commits (d6c5d398fe4c5d46073ab94a75c932899a730472)

Author SHA1 Message Date
Paul Sokolovsky ef9124f5ff binary: Rename array accessors for clarity. 11 years ago
Damien George f4c9b33abf py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. 11 years ago
Paul Sokolovsky 4dcb605ac4 py: Make bytearray a proper type. 11 years ago
Paul Sokolovsky b9cf3d3730 bytearray: Support bytearray(int) constructor. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Paul Sokolovsky f7eaf605c0 py: Fix "TypeError: 'iterator' object is not iterable", doh. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
Damien George 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago
Damien George caac542b23 Proper support for registering builtin modules in ROM. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
xbe 9e1e8cd642 Implement str.count and add tests for it. 11 years ago
Damien George 510477557d py: Take out bitfield entries from their own structure. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Paul Sokolovsky c203324e6c objarray: Refactor to use array accessors from binary.c . 11 years ago
Paul Sokolovsky d5df6cd44a Replace global "static" -> "STATIC", to allow "analysis builds". Part 1. 11 years ago
Damien George 698ec21e46 Make mp_obj_str_get_data return char* instead of byte*. 11 years ago
Paul Sokolovsky c1d9bbc345 Implement __bool__ and __len__ via unary_op virtual method for all types. 11 years ago
Paul Sokolovsky 7f11c794a5 mp_obj_new_bytearray_by_ref(): Allow to create array by reference. 11 years ago
Paul Sokolovsky 1801421f6d bytearray: Print objects properly. 11 years ago
Paul Sokolovsky 7e652af242 array: CPython prints empty arrays inconsistently (only typecode, no []). 11 years ago
Paul Sokolovsky 11973b48b5 array.array: Allow to create empty arrays. 11 years ago
Damien George 5fa93b6755 Second stage of qstr revamp: uPy str object can be qstr or not. 11 years ago
Paul Sokolovsky 09ce05996a array: Implement iterator. 11 years ago
Paul Sokolovsky 33996685df Add len() support for arrays. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Paul Sokolovsky 427905cedd Add skeleton implementation of array.array and bytearray. 11 years ago