micropython/py
Damien George d94bc675e8 py/compile: Optimise emitter label indices to save a word of heap.
Previous to this patch, a label with value "0" was used to indicate an
invalid label, but that meant a wasted word (at slot 0) in the array of
label offsets.  This patch adjusts the label indices so the first one
starts at 0, and the maximum value indicates an invalid label.
2017-06-22 15:05:58 +10:00
..
argcheck.c
asmarm.c
asmarm.h
asmbase.c
asmbase.h
asmthumb.c various: Spelling fixes 2017-05-29 11:36:05 +03:00
asmthumb.h
asmx64.c
asmx64.h
asmx86.c
asmx86.h
asmxtensa.c
asmxtensa.h
bc.c py: Provide mp_decode_uint_skip() to help reduce stack usage. 2017-06-09 13:36:33 +10:00
bc.h py: Provide mp_decode_uint_skip() to help reduce stack usage. 2017-06-09 13:36:33 +10:00
bc0.h py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
binary.c py/binary: Handle storing big-ints to all arrays types. 2017-05-09 10:41:00 +10:00
binary.h
builtin.h
builtinevex.c
builtinhelp.c
builtinimport.c all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 2017-06-15 11:54:41 +10:00
compile.c py/compile: Optimise emitter label indices to save a word of heap. 2017-06-22 15:05:58 +10:00
compile.h
emit.h py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
emitbc.c py/emitbc: Fix bug with BC emitter computing Python stack size. 2017-05-25 20:42:30 +10:00
emitcommon.c
emitglue.c
emitglue.h
emitinlinethumb.c
emitinlinextensa.c
emitnative.c py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
formatfloat.c py/formatfloat: Fix number of digits and exponent sign when rounding. 2017-06-13 13:36:56 +10:00
formatfloat.h
frozenmod.c py/modio: Implement uio.resource_stream(package, resource_path). 2017-05-03 01:47:08 +03:00
frozenmod.h py/modio: Implement uio.resource_stream(package, resource_path). 2017-05-03 01:47:08 +03:00
gc.c py/gc: Execute finaliser code in a protected environment. 2017-04-12 13:52:04 +10:00
gc.h
grammar.h py/compile: Refactor handling of special super() call. 2017-04-22 21:46:32 +10:00
lexer.c py/lexer: Process CR earlier to allow newlines checks on chr1. 2017-05-12 15:14:24 +10:00
lexer.h
makeqstrdata.py
makeqstrdefs.py py/makeqstrdefs.py: Make script run correctly with Python 2.6. 2017-06-09 13:42:13 +10:00
makeversionhdr.py
malloc.c
map.c
misc.h various: Spelling fixes 2017-05-29 11:36:05 +03:00
mkenv.mk various: Spelling fixes 2017-05-29 11:36:05 +03:00
mkrules.mk py/mkrules.mk: Fix auto-qstr generation when "make -B" is used. 2017-05-26 13:12:42 +10:00
modarray.c
modbuiltins.c all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 2017-06-15 11:54:41 +10:00
modcmath.c
modcollections.c
modgc.c
modio.c py/modio: resource_stream: Implement "package" param handling. 2017-05-06 18:42:35 +03:00
modmath.c all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 2017-06-15 11:54:41 +10:00
modmicropython.c py/modmicropython: Add micropython.kbd_intr() function. 2017-04-18 17:24:30 +10:00
modstruct.c
modsys.c py/modsys: Allow to compile with obj-repr D and PY_ATTRTUPLE disabled. 2017-06-08 00:41:27 +10:00
modthread.c py/modthread: Raise RuntimeError in release() if lock is not acquired. 2017-06-14 14:43:50 +10:00
moduerrno.c
mpconfig.h py/modbuiltins: Add core-provided version of input() function. 2017-06-01 16:02:49 +10:00
mperrno.h extmod/modlwip: Fix error codes for duplicate calls to connect(). 2017-06-04 12:30:41 +03:00
mphal.h
mpprint.c
mpprint.h py/modsys: update conditionals for code referencing sys.stdout 2017-05-14 18:24:50 +03:00
mpstate.c
mpstate.h
mpthread.h
mpz.c py/mpz: In mpn_sub, use existing function to remove trailing zeros. 2017-04-25 12:22:04 +10:00
mpz.h
nativeglue.c py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
nlr.h py: Cleanup use of global DEBUG preprocessor definition 2017-04-30 14:28:37 +03:00
nlrsetjmp.c py/nlrsetjmp: Add check for failed NLR jump. 2017-04-12 13:50:31 +10:00
nlrthumb.c
nlrx64.c
nlrx86.c
nlrxtensa.c
obj.c all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 2017-06-15 11:54:41 +10:00
obj.h py/objtype: mp_obj_new_super doesn't need to be public, so inline it. 2017-04-22 12:14:04 +10:00
objarray.c
objarray.h
objattrtuple.c
objbool.c
objboundmeth.c
objcell.c
objclosure.c
objcomplex.c all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 2017-06-15 11:54:41 +10:00
objdict.c
objenumerate.c
objexcept.c
objexcept.h
objfilter.c
objfloat.c py: Reduce str/repr precision of float numbers when floats are 30-bit. 2017-04-21 16:21:56 +10:00
objfun.c py: Provide mp_decode_uint_skip() to help reduce stack usage. 2017-06-09 13:36:33 +10:00
objfun.h
objgenerator.c py: Provide mp_decode_uint_skip() to help reduce stack usage. 2017-06-09 13:36:33 +10:00
objgenerator.h
objgetitemiter.c
objint.c py/objint: In to_bytes(), allow length arg to be any int and check sign. 2017-06-15 14:21:02 +10:00
objint.h
objint_longlong.c all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 2017-06-15 11:54:41 +10:00
objint_mpz.c extmod/moductypes: Fix bigint handling for 32-bit ports. 2017-04-21 16:43:21 +03:00
objlist.c
objlist.h
objmap.c
objmodule.c
objmodule.h
objnamedtuple.c
objnone.c
objobject.c
objpolyiter.c
objproperty.c
objrange.c py/objrange: Fix slicing of range when step of slice is negative. 2017-05-18 17:32:42 +10:00
objreversed.c
objset.c
objsingleton.c
objslice.c
objstr.c py/objstr: Allow to compile with obj-repr D, and unicode disabled. 2017-06-08 00:40:38 +10:00
objstr.h
objstringio.c py/objstringio: If created from immutable object, follow copy on write policy. 2017-06-09 17:33:01 +03:00
objstringio.h py/objstringio: If created from immutable object, follow copy on write policy. 2017-06-09 17:33:01 +03:00
objstrunicode.c all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 2017-06-15 11:54:41 +10:00
objtuple.c
objtuple.h
objtype.c py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
objtype.h
objzip.c
opmethods.c
parse.c
parse.h
parsenum.c
parsenum.h
parsenumbase.c
parsenumbase.h
persistentcode.c py/persistentcode: Allow to compile with complex numbers disabled. 2017-06-08 00:28:28 +10:00
persistentcode.h
py.mk various: Spelling fixes 2017-05-29 11:36:05 +03:00
qstr.c
qstr.h
qstrdefs.h
reader.c
reader.h
repl.c
repl.h
ringbuf.h various: Spelling fixes 2017-05-29 11:36:05 +03:00
runtime.c
runtime.h py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
runtime0.h py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
runtime_utils.c
scheduler.c
scope.c
scope.h
sequence.c py/sequence: Fix boundary errors when slicing with a negative step. 2017-05-18 17:32:42 +10:00
showbc.c py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
smallint.c
smallint.h
stackctrl.c
stackctrl.h
stream.c all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 2017-06-15 11:54:41 +10:00
stream.h
unicode.c
unicode.h
vm.c py: Provide mp_decode_uint_skip() to help reduce stack usage. 2017-06-09 13:36:33 +10:00
vmentrytable.h py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 2017-04-22 23:39:20 +10:00
vstr.c
warning.c