350 Commits (019433a17e82f22e8ee24ad1b53156403d4f4a67)

Author SHA1 Message Date
xyb c178ea471e Implemented int(str) in UNIX 11 years ago
John R. Lenton 88cb1e60e0 Made sorted() raise an exception instead of aborting when given no arguments; moved around some things in objfun.c as a consequence 11 years ago
John R. Lenton 2ded68db77 Cleaned up sorted() as per Damien's suggestions. 11 years ago
John R. Lenton 07205ec323 added zip() 11 years ago
Paul Sokolovsky 48b3572f7e Add framework to support alternative implementations of long int Python type. 11 years ago
Paul Sokolovsky 757ac81a69 Add proper checks for fits-in-small-int. Make it reusable. 11 years ago
Damien George eae16445d5 py: Implement staticmethod and classmethod (internally). 11 years ago
John R. Lenton b8698fca75 unified the bops 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
Damien George 004cdcebfe py: Implement base class lookup, issubclass, isinstance. 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 6c73ca1e75 py: add variable argument exception constructor function. 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
Paul Sokolovsky 5b15daf6d1 Add support for stream and buffer protocols. 11 years ago
Damien George b97669ab94 py: Improve __build_class__. 11 years ago
Damien George dfc0bac086 py: Small big fix to type declarations. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
Damien George 1a9951d5aa py: Fix up number operations and coercion. 11 years ago
John R. Lenton c06763a020 This implements a better (more python-conformant) list.sort. 11 years ago
Damien George e2e3d11e87 py: Fix up number operations and coercion. 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
Damien George 71c5181a8d Convert Python types to proper Python type hierarchy. 11 years ago
Damien George e9906ac3d7 Add ellipsis object. 11 years ago
John R. Lenton 45a8744617 Implements list.insert. Fixes issue #61. 11 years ago
Paul Sokolovsky 1c6de11f77 Add basic implementation of slice object. 11 years ago
Damien George 66028ab6dc Basic implementation of import. 11 years ago
Damien George 2870862601 Add module object, to be used eventually for import. 11 years ago
Damien George 0ff883904a py: Fix generator where state array was incorrectly indexed. 11 years ago
Damien George df884fe4cc py: change declaration of mp_map_t in obj.h (for issue #24). 11 years ago
Damien George 6baf76e28b py: make closures work. 11 years ago
Damien dae7eb7226 py: add dict length function, and fix rt_store_set. 11 years ago
Damien b86e3f9293 py: implement some basic exception matching. 11 years ago
Damien d9d6201b52 py: simplify __next__ method for generators. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien a3dcd9e80c py: add more Python built-in functions. 11 years ago
Damien 660365e14c py: split runtime into map, obj, builtin. 11 years ago