summaryrefslogtreecommitdiff
path: root/py/modbuiltins.c
AgeCommit message (Expand)Author
2018-05-10py/modbuiltins: Make built-in dir support the __dir__ special method.Damien George
2018-05-10py/modbuiltins: In built-in dir make use of mp_load_method_protected.Damien George
2018-05-10py/modbuiltins: Make built-in hasattr work properly for user types.Damien George
2018-05-09py/{modbuiltins,repl}: Start qstr probing from after empty qstr.Damien George
2018-02-19py/modbuiltins: Simplify and generalise dir() by probing qstrs.Damien George
2018-02-14py/modbuiltins: Simplify casts from char to byte ptr in builtin ord.Damien George
2018-02-14py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions.Damien George
2018-02-07py/modbuiltins: For builtin_chr, use uint8_t instead of char for array.Damien George
2017-12-05py/modbuiltins: Use standard arg-parsing helper func for builtin print.Damien George
2017-11-22py/modbuiltins: Slightly simplify code in builtin round().Damien George
2017-11-16py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.Damien George
2017-10-11py/modbuiltins: Use existing utf8_get_char helper in builtin ord func.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-09-18py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.Paul Sokolovsky
2017-08-02py,extmod,stmhal: Use "static inline" for funcs that should be inline.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-07py,extmod: Some casts and minor refactors to quiet compiler warnings.Tom Collins
2017-07-04py: Change mp_uint_t to size_t in builtins code.Damien George
2017-06-15all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.Damien George
2017-06-01py/modbuiltins: Add core-provided version of input() function.Damien George
2017-05-14py/modsys: update conditionals for code referencing sys.stdoutTom Collins
2017-03-29py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.Damien George
2017-03-28py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.Damien George
2017-03-24py/modbuiltins: Allow round() to return a big int if necessary.Damien George
2017-03-24py/modbuiltins: For round() builtin use nearbyint instead of round.Damien George
2017-02-16py: Add iter_buf to getiter type method.Damien George
2017-02-02py: Added optimised support for 3-argument calls to builtin.pow()Nicko van Someren
2017-01-22py: Add builtin help function to core, with default help msg.Damien George
2016-12-20py/modbuiltins: Remove unreachable code.Damien George
2016-10-24py: Add "delattr" builtin, conditional on MICROPY_CPYTHON_COMPAT.Damien George
2016-10-24py/modbuiltins: Add builtin "slice", pointing to existing slice type.Damien George
2016-10-22py/{modbuiltins,obj}: Use MP_PYTHON_PRINTER where possible.Paul Sokolovsky
2016-10-17py: Use mp_raise_msg helper function where appropriate.Damien George
2016-09-22all: Remove 'name' member from mp_obj_module_t struct.Damien George
2016-08-12py: Get rid of assert() in method argument checking functions.Paul Sokolovsky
2016-04-13py: add async/await/async for/async with syntaxpohmelie
2016-04-13py/modbuiltins: __repl_print__: Add comment about setting "_" special var.Paul Sokolovsky
2016-03-14py: Fix passing of some wide int types to printf varg format list.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-04py/modbuiltins: Fix access of mp_obj_t variable, wrap in MP_OBJ_TO_PTR.Damien George
2016-01-03py: Make dir report instance membersDave Hylands
2016-01-03py: Change struct and macro for builtin fun so they can be type checked.Damien George
2015-12-18py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts.Damien George
2015-12-07py: Add min/max "default" keyword argumentpohmelie
2015-12-07py: Add MICROPY_PY_BUILTINS_MIN_MAX, disable for minimal ports.pohmelie
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-23py: Check that second argument to hasattr is actually a string.Damien George
2015-10-20py: Add mp_obj_is_float function (macro) and use it where appropriate.Damien George