132 Commits (1ea2f7a8ce0353e423253135e417c02dc6466405)

Author SHA1 Message Date
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
stijn e50cff69bb py: Use a dummy type for referring to extern structs 10 years ago
Paul Sokolovsky 8c705233f3 py: Fix mp_obj_print() to work when Python streams are not used. 10 years ago
Paul Sokolovsky 1f91e92cc6 py: Revamp mp_obj_print() to use Python streams. 10 years ago
Damien George 8788b131ec py: Check for NDEBUG using #ifdef rather than #if. 10 years ago
Damien George 963a5a3e82 py, unix: Allow to compile with -Wsign-compare. 10 years ago
Damien George cd34207409 py: Can compile with -Wmissing-declarations and -Wmissing-prototypes. 10 years ago
Damien George c38dc3ccc7 py: Implement fallback for equality check for all types. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 46c3ab2004 modsys: Add sys.print_exception(exc, file=sys.stdout) function. 10 years ago
Damien George be6d8be91e py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 10 years ago
stijn e00eeaf4cd py: Use __hash__ method if a type defines it 10 years ago
Damien George 1e9a92f84f py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled. 10 years ago
Damien George 0344fa1ddf py: Fix builtin callable so it checks user-defined instances correctly. 10 years ago
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