micropython/py
Damien George a75b02ea9b py: Improve efficiency of MP_OBJ_IS_STR_OR_BYTES.
Saves ROM (16 on stmhal, 240 on 64-bit unix) and should be quicker since
there is 1 less branch.
2014-08-27 09:20:30 +01:00
..
argcheck.c
asmthumb.c py: Fix bug where GC collected native/viper/asm function data. 2014-08-24 16:28:17 +01:00
asmthumb.h Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
asmx64.c
asmx64.h
bc.h py: Fix bug where GC collected native/viper/asm function data. 2014-08-24 16:28:17 +01:00
bc0.h
binary.c py: binary.c: Properly implement alignment for native unpacked structs. 2014-08-10 23:21:08 +03:00
binary.h binary: Factor out mp_binary_set_int(). 2014-07-05 23:54:03 +03:00
builtin.c py: Consolidate min/max functions into one, and add key= argument. 2014-08-24 19:14:09 +01:00
builtin.h modzlibd: Decompress part of "zlib" module, based on miniz tinfl.c . 2014-08-13 00:26:19 +03:00
builtinevex.c
builtinimport.c py: Implement __file__ attribute for modules. 2014-07-28 21:21:59 +03:00
builtintables.c py: Put SystemExit in builtin namespace. 2014-08-16 14:32:06 +01:00
builtintables.h
compile.c py: Fix typing of viper locals; allow default types in annotation. 2014-08-15 22:39:08 +01:00
compile.h
emit.h py: Allow viper to have type annotations. 2014-08-15 16:45:41 +01:00
emitbc.c py: Allow viper to have type annotations. 2014-08-15 16:45:41 +01:00
emitcommon.c
emitcpy.c py: Allow viper to have type annotations. 2014-08-15 16:45:41 +01:00
emitglue.c py: Fix line number printing for file with 1 line. 2014-08-26 23:35:57 +01:00
emitglue.h py: Fix bug where GC collected native/viper/asm function data. 2014-08-24 16:28:17 +01:00
emitinlinethumb.c py: Allow viper to have type annotations. 2014-08-15 16:45:41 +01:00
emitnative.c py: Code clean-up in native emitter; improve thumb native calls. 2014-08-16 22:31:57 +01:00
emitpass1.c
formatfloat.c formatfloat.c: Typo fix in comment. 2014-07-17 20:45:58 +03:00
formatfloat.h
gc.c py: Speed up GC allocation. 2014-08-22 18:17:02 +01:00
gc.h Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
grammar.h
lexer.c py: Change lexer stream API to return bytes not chars. 2014-07-30 11:46:05 +01:00
lexer.h py: Change lexer stream API to return bytes not chars. 2014-07-30 11:46:05 +01:00
lexerstr.c py: Change lexer stream API to return bytes not chars. 2014-07-30 11:46:05 +01:00
lexerunix.c py: Change lexer stream API to return bytes not chars. 2014-07-30 11:46:05 +01:00
lexerunix.h
makeqstrdata.py
malloc.c
map.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
misc.h py: Add generic helper to align a pointer. 2014-07-12 15:57:28 +03:00
mkenv.mk
mkrules.mk
modarray.c
modcmath.c py, modcmath: Fix doc comment, and add some more of them. 2014-08-11 22:19:44 +00:00
modcollections.c
modgc.c doc: Document gc, sys, math, cmath. 2014-08-10 17:50:28 +01:00
modio.c
modmath.c doc: Document gc, sys, math, cmath. 2014-08-10 17:50:28 +01:00
modmicropython.c py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 2014-07-31 10:49:14 +01:00
modstruct.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
modsys.c doc: Fix up a few docs in sys module. 2014-08-10 17:53:43 +01:00
mpconfig.h py: Fix bug where GC collected native/viper/asm function data. 2014-08-24 16:28:17 +01:00
mpz.c py: Fix bug in mpn_shl (multi-prec int shift left). 2014-08-07 14:27:48 +00:00
mpz.h py: Improve handling of long-int overflow. 2014-07-31 13:41:43 +00:00
nlr.h
nlrsetjmp.c
nlrthumb.S
nlrx64.S
nlrx86.S
obj.c py: Fix bug where GC collected native/viper/asm function data. 2014-08-24 16:28:17 +01:00
obj.h py: Improve efficiency of MP_OBJ_IS_STR_OR_BYTES. 2014-08-27 09:20:30 +01:00
objarray.c objarray: Implement equality testing between arrays and other buffers. 2014-08-10 16:22:57 +03:00
objarray.h
objbool.c py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 2014-07-31 10:49:14 +01:00
objboundmeth.c
objcell.c
objclosure.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
objcomplex.c py: Add .real and .imag attributes to complex numbers. 2014-08-12 19:57:52 +01:00
objdict.c py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 2014-07-31 10:49:14 +01:00
objenumerate.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
objexcept.c stmhal: Make enable_irq and disable_irq inline functions. 2014-08-25 13:24:33 +01:00
objfilter.c
objfloat.c
objfun.c py: Fix bug where GC collected native/viper/asm function data. 2014-08-24 16:28:17 +01:00
objfun.h Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
objgenerator.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
objgenerator.h
objgetitemiter.c
objint.c py: Improve efficiency of MP_OBJ_IS_STR_OR_BYTES. 2014-08-27 09:20:30 +01:00
objint.h py: Make long ints hashable. 2014-07-24 14:21:37 +01:00
objint_longlong.c py: Make long ints hashable. 2014-07-24 14:21:37 +01:00
objint_mpz.c py: Improve handling of long-int overflow. 2014-07-31 13:41:43 +00:00
objlist.c py: Fix mult by negative number of tuple, list, str, bytes. 2014-08-13 13:22:24 +01:00
objlist.h Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
objmap.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
objmodule.c
objmodule.h
objnamedtuple.c
objnone.c
objobject.c
objproperty.c
objrange.c py: Improve range: add len, subscr, proper print. 2014-08-12 19:41:18 +01:00
objreversed.c py: Implement builtin reversed() function. 2014-08-12 18:33:40 +01:00
objset.c py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 2014-07-31 10:49:14 +01:00
objslice.c
objstr.c py: Improve efficiency of MP_OBJ_IS_STR_OR_BYTES. 2014-08-27 09:20:30 +01:00
objstr.h py: Change hash and len members of str from 16 bit to full word. 2014-08-22 18:34:28 +01:00
objstringio.c py: Change stream protocol API: fns return uint; is_text for text. 2014-07-27 22:38:58 +01:00
objstrunicode.c py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 2014-07-31 10:49:14 +01:00
objtuple.c py: Fix mult by negative number of tuple, list, str, bytes. 2014-08-13 13:22:24 +01:00
objtuple.h Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
objtype.c py: Add dispatch for user defined ==, >, <=, >=. 2014-08-26 09:31:26 +01:00
objtype.h
objzip.c
opmethods.c
parse.c py: Allow viper to have type annotations. 2014-08-15 16:45:41 +01:00
parse.h parser: Convert (u)int to mp_(u)int_t. 2014-07-03 14:13:33 +01:00
parsehelper.c lexer: Convert type (u)int to mp_(u)int_t. 2014-07-03 13:47:47 +01:00
parsehelper.h
parsenum.c parser: Convert (u)int to mp_(u)int_t. 2014-07-03 14:13:33 +01:00
parsenum.h parser: Convert (u)int to mp_(u)int_t. 2014-07-03 14:13:33 +01:00
parsenumbase.c parser: Convert (u)int to mp_(u)int_t. 2014-07-03 14:13:33 +01:00
parsenumbase.h parser: Convert (u)int to mp_(u)int_t. 2014-07-03 14:13:33 +01:00
pfenv.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
pfenv.h py: Make print() accept "file" argument, and actually print to stream. 2014-07-19 21:27:22 +03:00
pfenv_printf.c py: Make print() accept "file" argument, and actually print to stream. 2014-07-19 21:27:22 +03:00
py-version.sh
py.mk modzlibd: Decompress part of "zlib" module, based on miniz tinfl.c . 2014-08-13 00:26:19 +03:00
qstr.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
qstr.h Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
qstrdefs.h py: Add dispatch for user defined ==, >, <=, >=. 2014-08-26 09:31:26 +01:00
repl.c
repl.h
runtime.c py: Code clean-up in native emitter; improve thumb native calls. 2014-08-16 22:31:57 +01:00
runtime.h py: Fix bug where GC collected native/viper/asm function data. 2014-08-24 16:28:17 +01:00
runtime0.h py: Code clean-up in native emitter; improve thumb native calls. 2014-08-16 22:31:57 +01:00
scope.c py: Clean up and simplify functions in scope; add STATIC in compiler. 2014-08-15 14:30:52 +01:00
scope.h
sequence.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
showbc.c py: Improve encoding scheme for line-number to bytecode map. 2014-07-31 16:12:01 +00:00
smallint.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
smallint.h Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
stackctrl.c
stackctrl.h
stream.c py: Small cleanup in stream.c. 2014-08-22 18:30:02 +01:00
stream.h stream: Factor out mp_stream_write() method to write a memstring to stream. 2014-07-13 23:14:32 +03:00
unicode.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
unicode.h Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
vm.c py: Fix line number printing for file with 1 line. 2014-08-26 23:35:57 +01:00
vmentrytable.h
vstr.c