micropython/py
Damien George ee7a880d6e py: Use mp_arg_check_num in more places.
Updated functions now do proper checking that n_kw==0, and are simpler
because they don't have to explicitly raise an exception.  Down side is
that the error messages no longer include the function name, but that's
acceptable.

Saves order 300 text bytes on x64 and ARM.
2014-05-11 18:37:21 +01:00
..
argcheck.c Merge branch 'master' of https://github.com/micropython/micropython 2014-05-06 16:52:35 +00:00
asmthumb.c py, emitters: Fix dummy_data size for bytecode and thumb. 2014-05-10 18:07:08 +01:00
asmthumb.h py, compiler: Improve passes; add an extra pass for native emitter. 2014-05-07 17:24:22 +01:00
asmx64.c py, compiler: Improve passes; add an extra pass for native emitter. 2014-05-07 17:24:22 +01:00
asmx64.h py, compiler: Improve passes; add an extra pass for native emitter. 2014-05-07 17:24:22 +01:00
bc0.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
bc.h py: Rename byte_code to bytecode everywhere. 2014-05-10 10:36:38 +01:00
binary.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
binary.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
builtin.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
builtin.h modgc: Add new module for GC-related functionality. 2014-05-06 02:28:49 +03:00
builtinevex.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
builtinimport.c builtinimport: Fix broken namespace imports due to dup vstr_cut_tail_bytes(). 2014-05-10 19:00:03 +03:00
builtintables.c objset: Give up and implement frozenset. 2014-05-10 16:56:20 +03:00
builtintables.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
compile.c py: Rename byte_code to bytecode everywhere. 2014-05-10 10:36:38 +01:00
compile.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
emit.h py, compiler: Improve passes; add an extra pass for native emitter. 2014-05-07 17:24:22 +01:00
emitbc.c py: Compress a little the bytecode emitter structure. 2014-05-10 18:16:21 +01:00
emitcommon.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
emitcpy.c py: Rename byte_code to bytecode everywhere. 2014-05-10 10:36:38 +01:00
emitglue.c py: Combine native emitters to 1 glue function; distinguish viper. 2014-05-10 13:40:46 +01:00
emitglue.h py: Combine native emitters to 1 glue function; distinguish viper. 2014-05-10 13:40:46 +01:00
emitinlinethumb.c py: Combine native emitters to 1 glue function; distinguish viper. 2014-05-10 13:40:46 +01:00
emitnative.c py: Combine native emitters to 1 glue function; distinguish viper. 2014-05-10 13:40:46 +01:00
emitpass1.c py, compiler: Improve passes; add an extra pass for native emitter. 2014-05-07 17:24:22 +01:00
formatfloat.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
formatfloat.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
gc.c py: Compress a little the bytecode emitter structure. 2014-05-10 18:16:21 +01:00
gc.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
grammar.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
lexer.c py, lexer: Add allocation policy config; return NULL if can't allocate. 2014-05-10 17:48:01 +01:00
lexer.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
lexerstr.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
lexerunix.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
lexerunix.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
makeqstrdata.py More relaxed parsing of preprocessed qstr header 2014-05-03 10:26:31 +02:00
malloc.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
map.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
misc.h objstr: Implement .lower() and .upper(). 2014-05-10 19:49:07 +03:00
mkenv.mk Have make remove targets if a recipie fails. 2014-04-16 11:36:44 -07:00
mkrules.mk build: Simplify build directory layout by putting all headers in genhdr. 2014-04-17 18:03:27 +01:00
modarray.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modcmath.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modcollections.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modgc.c Add gc.enable, gc.disable; remove pyb.gc. 2014-05-08 23:04:49 +01:00
modio.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modmath.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modmicropython.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modstruct.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modsys.c py: Rename MICROPY_SYS_EXIT to MICROPY_MOD_SYS_EXIT. 2014-05-11 17:35:43 +01:00
mpconfig.h py: Rename MICROPY_SYS_EXIT to MICROPY_MOD_SYS_EXIT. 2014-05-11 17:35:43 +01:00
mpz.c Windows MSVC port 2014-05-08 10:06:43 +02:00
mpz.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
nlr.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
nlrsetjmp.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
nlrthumb.S Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
nlrx64.S Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
nlrx86.S Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
obj.c py: Start making good use of mp_const_obj_t. 2014-05-11 02:26:42 +03:00
obj.h py: Rename globally-accessible tuple functions, prefix with mp_obj_. 2014-05-11 18:00:45 +01:00
objarray.c py: Fix prefix on few sequence helpers, was incorrectly "mp_". 2014-05-10 21:36:33 +03:00
objarray.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objbool.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
objboundmeth.c objboundmeth: If detailed reporting enabled, print object content. 2014-05-11 02:27:42 +03:00
objcell.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objclosure.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objcomplex.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
objdict.c py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED. 2014-05-10 13:55:11 +01:00
objenumerate.c Merge branch 'master' of https://github.com/micropython/micropython 2014-05-06 16:52:35 +00:00
objexcept.c py: Rename globally-accessible tuple functions, prefix with mp_obj_. 2014-05-11 18:00:45 +01:00
objfilter.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objfloat.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
objfun.c py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED. 2014-05-10 13:55:11 +01:00
objfun.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objgenerator.c py: Rename byte_code to bytecode everywhere. 2014-05-10 10:36:38 +01:00
objgenerator.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objgetitemiter.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objint_longlong.c py: Improve native emitter; now supports more opcodes. 2014-05-07 18:30:52 +01:00
objint_mpz.c py: Tidy up returning NULL which should be MP_OBJ_NOT_SUPPORTED. 2014-05-10 13:55:11 +01:00
objint.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
objint.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objlist.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
objlist.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objmap.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objmodule.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objmodule.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objnamedtuple.c py: Rename globally-accessible tuple functions, prefix with mp_obj_. 2014-05-11 18:00:45 +01:00
objnone.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objobject.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objproperty.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
objrange.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objset.c py: frozenset() creates an empty frozenset. 2014-05-11 18:28:48 +01:00
objslice.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objstr.c py: Give up and make mp_obj_str_get_data() deal with bytes too. 2014-05-11 13:51:24 +03:00
objstr.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objstringio.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objtuple.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
objtuple.h py: Rename globally-accessible tuple functions, prefix with mp_obj_. 2014-05-11 18:00:45 +01:00
objtype.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
objtype.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objzip.c py: Use mp_arg_check_num in more places. 2014-05-11 18:37:21 +01:00
opmethods.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
parse.c py: Improve handling of memory error in parser. 2014-05-10 17:36:41 +01:00
parse.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
parsehelper.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
parsehelper.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
parsenum.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
parsenum.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
parsenumbase.c py: Fix base "detection" for int('0<hexdigit>', 16). 2014-05-10 04:45:15 +03:00
parsenumbase.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
pfenv.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
pfenv.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
py-version.sh py-version.sh: Use --always option of git describe. 2014-05-05 21:28:12 +03:00
py.mk modgc: Add new module for GC-related functionality. 2014-05-06 02:28:49 +03:00
qstr.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
qstr.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
qstrdefs.h objstr: Implement .lower() and .upper(). 2014-05-10 19:49:07 +03:00
repl.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
repl.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
runtime0.h runtime0.h: Group binary ops by fives. 2014-05-10 04:44:55 +03:00
runtime.c py: Don't try to "bind" types store as attributes of objects. 2014-05-11 03:33:19 +03:00
runtime.h Merge branch 'master' of https://github.com/micropython/micropython 2014-05-06 16:52:35 +00:00
scope.c py: Turn down amount of RAM parser and compiler use. 2014-05-05 13:19:03 +01:00
scope.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
sequence.c py: Fix prefix on few sequence helpers, was incorrectly "mp_". 2014-05-10 21:36:33 +03:00
showbc.c py: Rename byte_code to bytecode everywhere. 2014-05-10 10:36:38 +01:00
smallint.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
smallint.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
stream.c stream: Make non-blcoking stream support configurable. 2014-05-07 02:25:45 +03:00
stream.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
unicode.c py: Rename some unichar functions for consistency. 2014-05-11 17:53:11 +01:00
vm.c py: Rename byte_code to bytecode everywhere. 2014-05-10 10:36:38 +01:00
vmentrytable.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
vstr.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00