circuitpython/py
Paul Sokolovsky 0294661da5 parsenum: Signedness issues.
char can be signedness, and using signedness types is dangerous - it can
lead to negative offsets when doing table lookups. We apparently should just
ban char usage.
2014-06-14 18:02:21 +03: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 objgenerator: First iteration of refactor to use mp_setup_code_state(). 2014-06-11 20:43:47 +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 py: Make sure getattr() works with non-interned strings (by interning them). 2014-06-08 01:15:06 +03: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 py: Make 3 functions static. 2014-06-11 19:55:46 +01:00
builtintables.c py: Rename builtin "io" to "_io". 2014-06-12 01:22:25 +03:00
builtintables.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
compile.c py: Implement default keyword only args. 2014-06-07 22:01:00 +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 py: Implement default keyword only args. 2014-06-07 22:01:00 +01: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, gc: Revert ret_ptr to void*, casting to byte* for memset. 2014-06-13 22:33:31 +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 unicode: String API is const byte*. 2014-06-14 06:22:11 +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 Bring the C and Python compute_hash functions into consistency 2014-06-07 07:06:18 +10: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 unicode: Add trivial implementation of unichar_charlen(). 2014-06-14 06:30:30 +03:00
mkenv.mk py, mk: Revert change where build variables set with ?=. 2014-06-07 13:14:45 +01: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 modgc: Real 64-bit cleanness. 2014-06-06 03:01:39 +03:00
modio.c py: Rename builtin "io" to "_io". 2014-06-12 01:22:25 +03: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 modsys: Add optional support for sys.platform. 2014-06-07 23:40:04 +03:00
mpconfig.h py: Revert change of include, "" back to <> for mpconfigport.h. 2014-06-12 19:50:17 +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: Be 8-bit clean even for repr(). 2014-06-14 01:21:13 +03:00
objarray.c objstr: Be 8-bit clean even for repr(). 2014-06-14 01:21:13 +03: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 objfun: Remove no longer used mp_obj_fun_prepare_simple_args(). 2014-06-11 20:43:47 +03:00
objfun.h py: Implement default keyword only args. 2014-06-07 22:01:00 +01:00
objgenerator.c objgenerator: Finish refactor to use mp_setup_code_state(). 2014-06-11 20:43:47 +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 objint: Fix corner case in buffer access. 2014-06-06 23:08:37 +03: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 objstr: Refactor to work with char pointers instead of indexes. 2014-06-14 06:30:30 +03: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 py: Implement __contains__ special method. 2014-06-10 23:07:56 +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: 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 parsenum: Signedness issues. 2014-06-14 18:02:21 +03:00
parsenum.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
parsenumbase.c parsenum: Signedness issues. 2014-06-14 18:02:21 +03:00
parsenumbase.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
pfenv.c Fix str.modulo when precision is specified. 2014-06-05 23:09:02 -07:00
pfenv.h Fix str.modulo when precision is specified. 2014-06-05 23:09:02 -07:00
py-version.sh - Let the build environment decide about the toolchain to be used, in case 2014-06-07 09:16:42 +02:00
py.mk modgc: Add new module for GC-related functionality. 2014-05-06 02:28:49 +03:00
qstr.c py: Fix static defn in qstr; include mpconfigport.h with "" (not <>). 2014-06-11 19:18:03 +01:00
qstr.h Correct file reference (there's no qstrraw.h) 2014-06-04 03:15:46 +10:00
qstrdefs.h py: Rename builtin "io" to "_io". 2014-06-12 01:22:25 +03: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 Merge branch 'alloca' of github.com:marcusva/micropython into marcusva-alloca 2014-06-08 13:18:14 +01:00
runtime.h py: Add generic mp_not_implemented() func to use instead of assert(). 2014-06-07 23:26:27 +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 Remove unnecessary bounds check from mp_seq_get_fast_slice_indexes. 2014-06-10 03:59:55 +10: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 stream: Use mp_obj_is_true() for EOF testing. 2014-06-13 23:53:10 +03:00
stream.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
unicode.c unicode: String API is const byte*. 2014-06-14 06:22:11 +03:00
vm.c Merge branch 'alloca' of github.com:marcusva/micropython into marcusva-alloca 2014-06-08 13:18:14 +01: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