33 Commits (05e5d411b53dcba9529b6ac1e9388bab65f8c11b)

Author SHA1 Message Date
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 b01f66c5f1 py: Shorten error messages by using contractions and some rewording. 6 years ago
Damien George 9f241ef398 py: Optimise call to mp_arg_check_num by compressing fun signature. 6 years ago
Damien George 93ce125abe py/argcheck: Remove #if guard around terse error message helper func. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Damien George 3be4f886ce py/argcheck: Simplify if-chain so that the last one is the default. 8 years ago
Damien George e7cd1699df py/argcheck: Use size_t instead of mp_uint_t to count number of args. 9 years ago
Damien George 821b7f22fe py: Use mp_not_implemented consistently for not implemented features. 9 years ago
Damien George 044c473de2 py: Add %q format support to mp_[v]printf, and use it. 10 years ago
Damien George 50912e7f5d py, unix, stmhal: Allow to compile with -Wshadow. 10 years ago
stijn fbfd3554fa msvc: Fix unresolved mp_arg_error_terse_mismatch since 7f23384 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 7f23384d49 py: Make terse_arg_mismatch a global function and use it elsewhere. 10 years ago
Damien George 1e9a92f84f py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George 491cbd6a7c py: Add keyword arg support to enumerate constructor. 11 years ago
Paul Sokolovsky 47d3bd3b31 py: enumerate(): Add NotImplementedError for kwargs. 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
Paul Sokolovsky d32bab27bb py: Add copyright/license header to each file. 11 years ago
Damien George dbc81df5d4 Simplify names for argcheck.c / arg parsing. 11 years ago
Damien George 64ba6ca127 py: Small change to mp_arg_parse_all. 11 years ago
Damien George f87b35e779 py: Fix mp_arg_parse_all. 11 years ago
Damien George a3f94e0030 py: Add arg checking helper functions. 11 years ago