micropython/py
Damien George d4c2bddd0c py: Raise TypeError when trying to format non-int with %x,%o,%X.
This behaviour follows Python 3.5 standard (in 3.4 it's a
DeprecationWarning which we'd rather make a TypeError).
2014-06-05 19:44:54 +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
bc.h showbc: Make sure it's possible to trace MAKE_FUNCTION arg to actual bytecode. 2014-06-03 01:26:51 +03:00
bc0.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
binary.c modstruct: Add one more extension to typecodes - 'S', a pointer to C string. 2014-06-02 16:35:56 +03:00
binary.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
builtin.c Change comments (mainly URLs) to no longer specifically say Python 3.3 2014-06-06 03:51:03 +10:00
builtin.h unix modsocket: Make .makefile() method more compliant. 2014-05-24 21:24:37 +03:00
builtinevex.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
builtinimport.c Change comments (mainly URLs) to no longer specifically say Python 3.3 2014-06-06 03:51:03 +10:00
builtintables.c py: Properly fix configuration of float and math module. 2014-06-03 13:43:20 +01:00
builtintables.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
compile.c py: Fix stack underflow with optimised for loop. 2014-05-31 17:59:11 +01:00
compile.h py: Rename BYTE_CODE to BYTECODE (this was missed in previous rename). 2014-05-12 22:35:37 +01:00
emit.h py: Fix break from within a for loop. 2014-05-30 15:20:41 +01:00
emitbc.c py: For optimization level -O3 and higher, remove lineno info from bytecode. 2014-06-03 12:32:59 +03: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 showbc: Make micropython -v also dump bytecode in hex form. 2014-06-03 01:39:13 +03:00
emitglue.h py: Remove emit_glue init and deinit. Needed only for debugging. 2014-05-12 23:11:14 +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: Fix break from within a for loop. 2014-05-30 15:20:41 +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: Instead of having "debug on" var, have "optimization level" var. 2014-06-03 12:32:59 +03:00
lexer.h py: Instead of having "debug on" var, have "optimization level" var. 2014-06-03 12:32:59 +03:00
lexerstr.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
lexerunix.c Tidy up some configuration options. 2014-05-21 20:32:59 +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 add methods isspace(), isalpha(), isdigit(), isupper() and islower() to str 2014-05-31 07:30:57 +01: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 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
modcollections.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
modgc.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
modio.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
modmath.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
modmicropython.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
modstruct.c modstruct: Add one more extension to typecodes - 'S', a pointer to C string. 2014-06-02 16:35:56 +03:00
modsys.c Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
mpconfig.h py: Add option to disable set() object (enabled by default). 2014-06-01 13:46:47 +01:00
mpz.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
mpz.h Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +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 unix: Create __bss_start and _end symbols for Mach-O targets. 2014-05-12 00:13:10 +02:00
nlrx86.S Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
obj.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
obj.h objstr: Implement "%(key)s" % {} formatting for strings and dicts. 2014-06-05 20:06:15 +03:00
objarray.c py: Small changes to objstr.c, including a bug fix. 2014-06-05 18:57:38 +01:00
objarray.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objbool.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +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 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
objdict.c objstr: Implement "%(key)s" % {} formatting for strings and dicts. 2014-06-05 20:06:15 +03:00
objenumerate.c Merge branch 'master' of https://github.com/micropython/micropython 2014-05-06 16:52:35 +00:00
objexcept.c Change comments (mainly URLs) to no longer specifically say Python 3.3 2014-06-06 03:51:03 +10:00
objfilter.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objfloat.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
objfun.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
objfun.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objgenerator.c vm: Factor out structure with code execution state and pass it around. 2014-05-31 18:22:01 +03: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.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
objint.h py: More const usage. 2014-05-17 11:20:10 +03:00
objint_longlong.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
objint_mpz.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
objlist.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
objlist.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objmap.c py: More mp_identity usage. 2014-05-17 11:20:10 +03: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 Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
objnone.c py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 2014-05-21 19:42:43 +01:00
objobject.c py: Initial attempts to actually allow implementing __new__ in Python. 2014-05-22 00:32:00 +03:00
objproperty.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
objrange.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
objset.c py: Add option to disable set() object (enabled by default). 2014-06-01 13:46:47 +01:00
objslice.c Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
objstr.c py: Raise TypeError when trying to format non-int with %x,%o,%X. 2014-06-05 19:44:54 +01:00
objstr.h py: Slightly improve efficiency of mp_obj_new_str; rename str_new. 2014-05-25 22:34:34 +01:00
objstringio.c py: Slightly improve efficiency of mp_obj_new_str; rename str_new. 2014-05-25 22:34:34 +01:00
objtuple.c py: Small changes to objstr.c, including a bug fix. 2014-06-05 18:57:38 +01:00
objtuple.h py: Rename globally-accessible tuple functions, prefix with mp_obj_. 2014-05-11 18:00:45 +01:00
objtype.c Change comments (mainly URLs) to no longer specifically say Python 3.3 2014-06-06 03:51:03 +10: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: Fix check of small-int overflow when parsing ints. 2014-05-28 14:51:12 +01:00
parse.h py: Fix check of small-int overflow when parsing ints. 2014-05-28 14:51:12 +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 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +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 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
pfenv.h Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +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 Change const byte* to const char* where sensible. 2014-05-25 22:27:57 +01:00
qstr.h Correct file reference (there's no qstrraw.h) 2014-06-04 03:15:46 +10:00
qstrdefs.h Rename bultins config variables to MICROPY_PY_BUILTINS_*. 2014-06-01 13:32:54 +01:00
repl.c Tidy up some configuration options. 2014-05-21 20:32:59 +01:00
repl.h Tidy up some configuration options. 2014-05-21 20:32:59 +01:00
runtime.c Change comments (mainly URLs) to no longer specifically say Python 3.3 2014-06-06 03:51:03 +10:00
runtime.h py: Instead of having "debug on" var, have "optimization level" var. 2014-06-03 12:32:59 +03:00
runtime0.h py: Fix configurability of builtin slice. 2014-06-01 13:49:35 +01:00
scope.c Tidy up some configuration options. 2014-05-21 20:32:59 +01:00
scope.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
sequence.c py: Fix configurability of builtin slice. 2014-06-01 13:49:35 +01:00
showbc.c showbc: Make sure it's possible to trace MAKE_FUNCTION arg to actual bytecode. 2014-06-03 01:26:51 +03:00
smallint.c py: Fix check of small-int overflow when parsing ints. 2014-05-28 14:51:12 +01:00
smallint.h py: Fix check of small-int overflow when parsing ints. 2014-05-28 14:51:12 +01:00
stream.c py: Slightly improve efficiency of mp_obj_new_str; rename str_new. 2014-05-25 22:34:34 +01: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 vm: If there's no lineno info, set lineno in traceback to 0, not 1. 2014-06-03 12:32:59 +03:00
vmentrytable.h Fix some unused variables, and silence a clang warning about initialization override in vmentrytable.h 2014-05-12 09:06:18 +02:00
vstr.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00