99 Commits (7ff996c2377b191ff829e6e03815acf9bfe85a14)

Author SHA1 Message Date
Damien George c7687ad7e6 py: Rename mp_builtin_id to mp_obj_id and make it public. 10 years ago
Damien George ca6d75f16d py: Small simplifications in tuple and list accessors. 10 years ago
Damien George 4d91723587 py: Remove use of int type in obj.h. 10 years ago
Damien George 9c4cbe2ac0 py: Make tuple and list use mp_int_t/mp_uint_t. 10 years ago
Damien George 3c658a4e75 py: Fix bug where GC collected native/viper/asm function data. 10 years ago
Damien George 4c03b3a899 py: Implement builtin reversed() function. 10 years ago
Paul Sokolovsky 7133d91773 py: mp_buffer_info_t::buf may be valid, but NULL for empty objects. 10 years ago
Damien George bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Damien George ffe911d228 py: Make long ints hashable. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky caa7334141 stackctrl: Add "mp_" prefix. 11 years ago
Paul Sokolovsky 8993fb6cf0 py: Add protection against printing too nested or recursive data structures. 11 years ago
Paul Sokolovsky e7f2b4c875 objstrunicode: Revamp len() handling for unicode, and optimize bool(). 11 years ago
Paul Sokolovsky 3b6f7b95eb py: Separate MICROPY_PY_BUILTINS_COMPLEX from MICROPY_PY_BUILTINS_FLOAT. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Damien George 6ac5dced24 py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 11 years ago
Paul Sokolovsky ab7bf28489 py: More const usage. 11 years ago
Paul Sokolovsky 7e7940c39d py: Fix __len__ special method result handling. 11 years ago
Paul Sokolovsky 7aca1cae34 py: Start making good use of mp_const_obj_t. 11 years ago
Paul Sokolovsky 0bc15941c2 py: Make mp_obj_print() handle null object w/o segfault if debug build. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George b11b85adaa py: Allow to pass buffer protocol flags to get_buffer helper funcs. 11 years ago
Damien George 57a4b4f178 py: Add typecode to buffer protocol. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George ee01411036 py: Add len(bytes). 11 years ago
Damien George 0e4ba25834 py: Fix SyntaxError exception: don't have a block name, so pass NULL. 11 years ago
Damien George 8a1cab952f py: Fix mp_get_buffer, and use it in more places. 11 years ago
Paul Sokolovsky f130ca1f60 py: Make bytes type hashable. 11 years ago
Damien George a5c82a8187 py: Convert some macros to inline functions (in obj.h). 11 years ago
Damien George e22d76e73b py: Fix up object equality test. 11 years ago
Damien George a9ddd6d9df py: Simplify and improve mp_get_index. 11 years ago
Damien George b8a053aeb1 py: Implement float and complex == and !=. 11 years ago
Damien George 686afc5c0a py: Check that sequence has 2 elements for dict iterable constructor. 11 years ago
Damien George b5fbd0ba87 py: Add mp_obj_is_integer; make mp_get_index check for long int. 11 years ago
Paul Sokolovsky 3aa8ee7c9e py: Add mp_get_buffer(), mp_get_buffer_raise() convenience functions to API. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Paul Sokolovsky e99841be69 mp_obj_get_int(): Add warning against adding implicit float->int conversion. 11 years ago
Paul Sokolovsky 91cbe6033a py: Allow types to be hashable. 11 years ago
Damien George 36f0ee1a54 py: Remove mp_obj_less (use mp_binary_op(MP_BINARY_OP_LESS..) instead). 11 years ago
Damien George 8270e3853d py: More robust int conversion and overflow checking. 11 years ago
Damien George e09320adb5 py: Remove implicit conversion from int to float. 11 years ago
Dave Hylands baf6f14deb Enhance str.format support 11 years ago
Paul Sokolovsky a96d3d0840 objexcept: No more magic messages in exceptions, only exception arguments. 11 years ago
Damien George e0f2979aed py: Add equality test for None object. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Paul Sokolovsky 0ae518fb9e mp_obj_print_exception(): Assert that traceback has sane number of entries. 11 years ago
Damien George 0aa5d51cf1 py: Support mpz -op- float, mpz -op- complex, and complex -op- mpz. 11 years ago