162 Commits (c1f74b300548912f92edb4ae004dc486e0b7c8bf)

Author SHA1 Message Date
Damien George d4b706c4d0 py: Add option to compile without any error messages at all. 4 years ago
Damien George 9f911d822e py/objcomplex: Add mp_obj_get_complex_maybe for use in complex bin-op. 4 years ago
stijn 70affd9ba2 all: Fix implicit floating point to integer conversions. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Jim Mussared a9a745e4b4 py: Use preprocessor to detect error reporting level (terse/detailed). 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George ad7213d3c3 py: Add mp_raise_msg_varg helper and use it where appropriate. 5 years ago
Damien George 9ec1caf42e py: Expand type equality flags to 3 separate ones, fix bool/namedtuple. 5 years ago
Nicko van Someren 3aab54bf43 py: Support non-boolean results for equality and inequality tests. 5 years ago
Damien George 40057600b8 py/obj: Optimise mp_obj_get_type for immediate objs with repr A and C. 5 years ago
Damien George d96cfd13e3 py/obj: Add MICROPY_OBJ_IMMEDIATE_OBJS option to reduce code size. 5 years ago
Damien George bfbd94401d py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t. 5 years ago
Josh Lloyd 7d58a197cf py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions. 5 years ago
Yonatan Goldschmidt 7cf26ca4bd py/obj: Optimise small-int comparison to 0 in mp_obj_is_true. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Paul Sokolovsky 2f5d113fad py/warning: Support categories for warnings. 6 years ago
Paul Sokolovsky b1d08726ee py/obj: Add support for __int__ special method. 6 years ago
Damien George b01f66c5f1 py: Shorten error messages by using contractions and some rewording. 6 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George d4b75f6b68 py/obj: Fix comparison of float/complex NaN with itself. 7 years ago
Paul Sokolovsky 9950865c39 py/objfloat: Fix binary ops with incompatible objects. 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
Damien George 48d867b4a6 all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 8 years ago
Ville Skyttä ca16c38210 various: Spelling fixes 8 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 8 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 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 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 e4af712125 py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl. 8 years ago
Paul Sokolovsky 3730090d8f py/{modbuiltins,obj}: Use MP_PYTHON_PRINTER where possible. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Paul Sokolovsky 918851e836 unix: Enable MICROPY_PY_STR_BYTES_CMP_WARN. 8 years ago
Paul Sokolovsky 707cae7494 py/obj: Issue a warning when str and bytes objects are compared. 8 years ago
Damien George eb54e4d065 py/obj: Add warning note about get_array return value and GC blocks. 9 years ago
Damien George 2a1cca20b1 py: Fix passing of some wide int types to printf varg format list. 9 years ago
Damien George 3d2daa2d03 py: Change exception traceback data to use size_t instead of mp_uint_t. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George aedb859177 py: Make float representation configurable with object representation. 9 years ago
Damien George aaef1851a7 py: Add mp_obj_is_float function (macro) and use it where appropriate. 9 years ago
Damien George 516982242d py: Inline single use of mp_obj_str_get_len in mp_obj_len_maybe. 9 years ago
Damien George c50772d19f py: Add mp_obj_get_int_truncated and use it where appropriate. 10 years ago
Damien George c2a4e4effc py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function. 10 years ago
Paul Sokolovsky 37c6555b44 obj: Handle user instance hash based on Python adhoc rules. 10 years ago
Paul Sokolovsky 7667727021 objsingleton: New home for Ellipsis and NotImplemented. 10 years ago
Paul Sokolovsky 5ab5ac5448 modbuiltins: Add NotImplemented builtin constant. 10 years ago
Damien George 044c473de2 py: Add %q format support to mp_[v]printf, and use it. 10 years ago
Damien George 5ae5ec986e py: Make mp_sys_stdout_print object, wrapping sys.stdout for mp_print*. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago