356 Commits (f7ddc9416622493e6602dabf573b33b249756f8b)

Author SHA1 Message Date
Andrew Leech cf22f4793c py: Allow registration of modules at their definition. 6 years ago
Damien George 02cc288edb py: Add independent config for debugging sentinel object values. 6 years ago
Damien George 7bc71f5446 py/objfun: Make fun_data arg of mp_obj_new_fun_asm() a const pointer. 6 years ago
Damien George bf352047de py/obj.h: Remove obsolete mp_obj_new_fun_viper() declaration. 6 years ago
Damien George 054dd33eba py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Damien George 5089b3ffb6 py/obj.h: Explicitly cast args to uint32_t in MP_OBJ_FUN_MAKE_SIG. 6 years ago
Damien George 69e7903904 py/obj.h: Use uint64_t instead of mp_int_t in repr-D MP_OBJ_IS_x macros. 6 years ago
Damien George cc2bd63c57 py/emitnative: Implement yield and yield-from in native emitter. 6 years ago
stijn 57a7d5be9a py: Fix msvc C++ compiler warnings with MP_OBJ_FUN_MAKE_SIG macro. 6 years ago
Damien George 9f241ef398 py: Optimise call to mp_arg_check_num by compressing fun signature. 6 years ago
Damien George 4a1edd8382 py/obj.h: Give compile error if using obj repr D with single-prec float. 6 years ago
Damien George 4cd853fbd2 py/objmodule: Make mp_obj_module_get_globals an inline function. 6 years ago
Damien George d9cdb880ff py/objdict: Make mp_obj_dict_get_map an inline function. 6 years ago
Nicko van Someren d66c33cbd6 py/obj.h: Fix broken build for object repr C when float disabled. 6 years ago
Damien George b488a4a848 py/objgenerator: Eliminate need for mp_obj_gen_wrap wrapper instances. 6 years ago
Damien George db5d8c97f1 py/obj.h: Introduce a "flags" entry in mp_obj_type_t. 7 years ago
Damien George 1427f8f593 py/stream: Move definition of mp_stream_p_t from obj.h to stream.h. 7 years ago
Damien George 6b4b6d388b py/obj.h: Fix math.e constant for nan-boxing builds. 7 years ago
Damien George 3280788195 py/runtime: Check that keys in dicts passed as ** args are strings. 7 years ago
Damien George e0bc438e4b py/obj.h: Move declaration of mp_obj_list_init to objlist.h. 7 years ago
Damien George 9f811e9096 py/obj.h: Clean up by removing commented-out inline versions of macros. 7 years ago
Paul Sokolovsky 970eedce8f py/objdeque: Implement ucollections.deque type with fixed size. 7 years ago
Damien George 73d1d20b46 py/objexcept: Remove long-obsolete mp_const_MemoryError_obj. 7 years ago
Damien George 2759bec858 py: Extend nan-boxing config to have 47-bit small integers. 7 years ago
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 7 years ago
Damien George 77a48e8cd4 py/obj: Remove declaration for mp_obj_new_none(), it's never defined. 7 years ago
Paul Sokolovsky 9950865c39 py/objfloat: Fix binary ops with incompatible objects. 7 years ago
Paul Sokolovsky 784909ce16 py/objtype: Handle NotImplemented return from binary special methods. 7 years ago
Damien George 58321dd985 all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Damien George 4df013c8cc py/objtype: mp_obj_new_super doesn't need to be public, so inline it. 8 years ago
Damien George a73501b1d6 py/objfloat: Add implementation of high-quality float hashing. 8 years ago
Damien George 816413e4b2 py: Optimise types for common case where type has a single parent type. 8 years ago
Damien George fc710169b7 py/obj: Clean up and add comments describing mp_obj_type_t struct. 8 years ago
Damien George 19f2e47d59 py: Add very simple but correct hashing for float and complex numbers. 8 years ago
Damien George a5500a8aad py/obj.h: Make sequence grow more efficient and support overlapping. 8 years ago
Damien George 6b34107537 py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. 8 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 8 years ago
Damien George 3f810daeb3 py/obj: Change mp_uint_t to size_t for mp_obj_get_array_fixed_n len arg. 8 years ago
Damien George 60656eaea4 py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf. 8 years ago
Damien George 507119f4d8 py/sequence: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George c88cfe165b py: Use size_t as len argument and return type of mp_get_index. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George da36f5232d py/objint: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George fa5a591757 py/objexcept: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George efa629028a py/objclosure: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George dbcdb9f8d8 py/objfun: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George ccc5254224 py/objarray: Convert mp_uint_t to size_t where appropriate. 8 years ago