aboutsummaryrefslogtreecommitdiff
path: root/py/objdict.c
AgeCommit message (Expand)Author
2022-05-03all: Use mp_obj_malloc everywhere it's applicable.Jim Mussared
2021-08-07extmod/modujson: Add support for dump/dumps separators keyword-argument.Peter Züger
2021-07-15py: Introduce and use mp_raise_type_arg helper.Damien George
2021-03-26py: Rename remaining object types to be of the form mp_type_xxx.Damien George
2020-10-10py/objdict: Add mp_const_empty_dict_obj, use it for mp_const_empty_map.Jim Mussared
2020-06-24py/obj.h: Add public mp_obj_is_dict_or_ordereddict() helper macro.Damien George
2020-06-10py/objtype: Add __dict__ attribute for class objects.Andrew Leech
2020-04-27py/objdict: Fix popitem for ordered dicts.Jim Mussared
2020-04-05all: Use MP_ERROR_TEXT for all error messages.Jim Mussared
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-28py: Removing dangling "else" to improve code format consistency.Damien George
2019-11-13py/objdict: Support ujson.dump() of OrderedDict objects.Andrew Leech
2019-07-30py/objdict: Quote non-string types when used as keys in JSON output.Eric Poulsen
2019-05-17various: Add and update my copyright line based on git history.Paul Sokolovsky
2019-02-12py: Downcase MP_xxx_SLOT_IS_FILLED inline functions.Damien George
2019-02-12py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API.Damien George
2018-12-13py/objdict: Make .fromkeys() method configurable.Paul Sokolovsky
2018-09-27py/objdict: Reword TODO about inlining mp_obj_dict_get to a note.Damien George
2018-07-08py/objdict: Make mp_obj_dict_get_map an inline function.Damien George
2018-02-18py/objdict: Disallow possible modifications to fixed dicts.Mike Wadsten
2017-11-27py/objdict: Reuse dict-view key iterator for standard dict iterator.Damien George
2017-11-24py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-08-29all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriateDamien George
2017-08-11py/modsys: Initial implementation of sys.getsizeof().Paul Sokolovsky
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-04py/objdict: Factorise dict accessor helper to reduce code size.Damien George
2017-04-12py: Optimise types for common case where type has a single parent type.Damien George
2017-03-29py: Shorten a couple of error messages.Damien George
2017-03-28py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.Damien George
2017-02-16py: De-optimise some uses of mp_getiter, so they don't use the C stack.Damien George
2017-02-16py: Add iter_buf to getiter type method.Damien George
2017-02-16py/objdict: Convert mp_uint_t to size_t where appropriate.Damien George
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-10-17py/objdict: Actually provide the key that failed in KeyError exception.Damien George
2016-10-17py/objdict: Fix optimisation for allocating result in fromkeys.Damien George
2016-08-12py/objdict: Get rid of asserts (remove/replace with mp_check_self()).Paul Sokolovsky
2016-06-12py/objdict: Implemented OrderedDict equality check.Mark Anthony Palomer
2016-05-20py: Declare constant data as properly constant.Damien George
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2016-01-11py: Change type signature of builtin funs that take variable or kw args.Damien George
2016-01-11py: Change type of .make_new and .call args: mp_uint_t becomes size_t.Damien George
2016-01-03py: Use polymorphic iterator type where possible to reduce code size.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-11-29py: Add MP_ROM_* macros and mp_rom_* types and use them.Damien George
2015-11-20py: Use MP_OBJ_NULL instead of NULL when appropriate.Damien George
2015-10-11py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming.Paul Sokolovsky
2015-04-16py: Add %q format support to mp_[v]printf, and use it.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-03-26objdict: Cast mp_obj_t to concrete types explicitly.Paul Sokolovsky