345 Commits (c700ff52a0e8d5b2a100d1333ea0e0936629fb58)

Author SHA1 Message Date
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
Damien George c0d9500eee py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate. 8 years ago
Damien George 68cd3a93f0 py/objset: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 1ea2f7a8ce py/objdict: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 58d9eeb8d9 py/objlist: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 229823942c py/objtuple: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George af622eb2a6 py/map: Change mp_uint_t to size_t where appropriate. 8 years ago
Damien George e4af712125 py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl. 8 years ago
Damien George 571e6f26db py: Specialise builtin funcs to use separate type for fixed arg count. 8 years ago
Damien George 4ebdb1f2b2 py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George 41fceae559 py/obj.h: For obj reprs A,B,C use void* explicitly for mp_obj_t typedef. 8 years ago