aboutsummaryrefslogtreecommitdiff
path: root/py/sequence.c
AgeCommit message (Expand)Author
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-01-09py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t.Damien George
2019-12-28py/objslice: Add support for indices() method on slice objects.Nicko van Someren
2019-07-25py/sequence: Fix grammar in comment about equality.Yonatan Goldschmidt
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-05-18py/sequence: Fix boundary errors when slicing with a negative step.Damien George
2017-03-28py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.Damien George
2017-03-23py/sequence: Convert mp_uint_t to size_t where appropriate.Damien George
2017-03-23py: Use size_t as len argument and return type of mp_get_index.Damien George
2016-10-30py/sequence: Fix reverse slicing of lists.Fabio Utzig
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-08-15py/sequence: Allow to use bignums as indices in slice objects.Damien George
2015-11-29py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.Damien George
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-16py, unix: Allow to compile with -Wsign-compare.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-10-03py: Convert [u]int to mp_[u]int_t where appropriate.Damien George
2014-08-30py: Remove use of int type in obj.h.Damien George
2014-08-30py: Change all uint to mp_uint_t in obj.h.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-10Remove unnecessary bounds check from mp_seq_get_fast_slice_indexes.Chris Angelico
2014-06-01py: Fix configurability of builtin slice.Damien George
2014-05-25objlist: Implement support for arbitrary (3-arg) slices.Paul Sokolovsky
2014-05-25py: Refactor slice helpers, preparing to support arbitrary slicing.Paul Sokolovsky
2014-05-25sequence: Throw exception for not implemented slice steps.Paul Sokolovsky
2014-05-25py: Handle case of slice start > stop in common sequence function.Paul Sokolovsky
2014-05-25objslice: Support arbitrary objects start, stop, and step.Paul Sokolovsky
2014-05-15sequence: Fix yet another case of improper sequence comparison.Paul Sokolovsky
2014-05-13py, unix: Add copyright for modules I worked closely on.Paul Sokolovsky
2014-05-10py: Fix prefix on few sequence helpers, was incorrectly "mp_".Paul Sokolovsky
2014-05-10bytes: Implement comparison and other binary operations.Paul Sokolovsky
2014-05-03Add license header to (almost) all files.Damien George
2014-05-02py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-04-18sequence: Further simplify sequence comparison.Paul Sokolovsky
2014-04-18sequence: Fix glaring bug in sequence comparison.Paul Sokolovsky
2014-04-05py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George
2014-03-30Merge map.h into obj.h.Damien George
2014-03-30Rename rt_* to mp_*.Damien George
2014-03-17py: Clean up includes.xbe
2014-03-12Implement str.count and add tests for it.xbe
2014-02-15Implement proper exception type hierarchy.Damien George
2014-02-10Fix some int casting that failed on 64 bit architecture.Damien George
2014-02-10Factor out mp_seq_count_obj() and implement tuple.count().Paul Sokolovsky
2014-02-10Implement tuple.index().Paul Sokolovsky
2014-02-10Factor out mp_seq_index_obj() function to implement .index() on sequences.Paul Sokolovsky
2014-02-08Refactor list comparison code to mp_seq_cmp_objs().Paul Sokolovsky
2014-02-02Implement str/bytes rich comparisons.Paul Sokolovsky
2014-02-02Factor out m_seq_get_fast_slice_indexes() fucntions as sequence helper.Paul Sokolovsky