summaryrefslogtreecommitdiff
path: root/py/modbuiltins.c
AgeCommit message (Expand)Author
2020-07-06Add license to some obvious files.Diego Elio Pettenò
2019-05-17Enable MICROPY_PY_BUILTINS_ROUND_INT; make round() work beter when it's disab...Dan Halbert
2019-05-08Make status light flash blue for incompatible mpy (fixes #1369)Terri Oda
2019-02-15Support print("", flush=True)Scott Shawcroft
2019-01-14py changes for supporting superclass constructors that take kwargsScott Shawcroft
2018-08-16Compress all translated strings with Huffman coding.Scott Shawcroft
2018-08-07Support internationalisation.Scott Shawcroft
2018-07-11WIP: after merge; before testingDan Halbert
2018-06-20py: Add checks for stream objects in print() and sys.print_exception().Damien George
2018-05-22py/modbuiltins: Add support for rounding integers.Jan Klusacek
2018-05-14Initial implementation of supervisor.reload()Roy Hooper
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
2018-01-24Introduce a long lived section of the heap.Scott Shawcroft
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-11-02Merge tag 'v1.9.3'Scott Shawcroft
2017-10-24Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_mergeScott Shawcroft
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-25Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in development)...Dan Halbert
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-20Merge tag 'v1.9.1'2.0.0-alpha.0Scott Shawcroft
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-24Switch exception throwing to mp_raise helpers. It saves a little code space e...Scott Shawcroft
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
2017-01-10Merge tag 'v1.8.7'Scott Shawcroft
2016-12-20py/modbuiltins: Remove unreachable code.Damien George
2016-11-21This introduces an alternative hardware API called nativeio structured around...Scott Shawcroft
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