22 Commits (39b174e00a05dfaf4ac6f2e17cee4892a60e92c3)

Author SHA1 Message Date
Damien George eae16445d5 py: Implement staticmethod and classmethod (internally). 11 years ago
John R. Lenton c1bef21920 Implemented support for `in` and `not in` operators. 11 years ago
John R. Lenton 4bee76ebca Added dict.fromkeys. Are we done with dict and #99 yet? I do think we are. 11 years ago
John R. Lenton 9ec3a87189 dict views now, refactoring later. 11 years ago
Damien George 062478e66d Improved type/class/instance code; mp_obj_type_t now has load_attr, store_attr. 11 years ago
Damien George 38a2da68c2 py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. 11 years ago
John R. Lenton baa665406f Moved dict methods out to a mp_method_t. 11 years ago
John R. Lenton 88f3043e0a added a first pass of dict.update 11 years ago
John R. Lenton be8fe5be2e Added dict.setdefault 11 years ago
John R. Lenton f77dce8a5d Added dict.popitem 11 years ago
John R. Lenton 0fcbaa442f implemented dict.pop 11 years ago
John R. Lenton cd0887352d Added dict.get. 11 years ago
John R. Lenton d90b19eca5 Added dict.copy 11 years ago
John R. Lenton 7d21d516d2 make dict_len use the map's used count 11 years ago
John R. Lenton 4ce6ceadca Added dict.clear. 11 years ago
John R. Lenton a41fe31322 Added dict iterator. 11 years ago
John R. Lenton 3391e19068 A bit of stylistic cleanup (chose the wrong side during conflict resolution). 11 years ago
John R. Lenton c06763a020 This implements a better (more python-conformant) list.sort. 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Paul Sokolovsky 860ffb0a43 Convert many object types structs to use C99 tagged initializer syntax. 11 years ago
Damien George 71c5181a8d Convert Python types to proper Python type hierarchy. 11 years ago
Damien George eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago
Damien dae7eb7226 py: add dict length function, and fix rt_store_set. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago