micropython/py
Damien George be8e99c7d4 py: Allow bytes object as argument to some str methods.
This turns failing assertions to type exceptions for things like
b"123".find(...).  We still don't support operations like this on bytes
objects (unlike CPython), but at least it no longer crashes.
2014-11-05 16:45:54 +00:00
..
argcheck.c
asmarm.c py: Implement native load for viper. 2014-10-12 16:59:29 +01:00
asmarm.h py: Implement native load for viper. 2014-10-12 16:59:29 +01:00
asmthumb.c py: Make macro names in assemblers consistent, and tidy up a bit. 2014-09-29 19:42:06 +01:00
asmthumb.h py: Make macro names in assemblers consistent, and tidy up a bit. 2014-09-29 19:42:06 +01:00
asmx64.c py: Implement native load for viper. 2014-10-12 16:59:29 +01:00
asmx64.h py: Implement native load for viper. 2014-10-12 16:59:29 +01:00
asmx86.c py: Implement native load for viper. 2014-10-12 16:59:29 +01:00
asmx86.h py: Implement native load for viper. 2014-10-12 16:59:29 +01:00
bc.c py: Store bytecode arg names in bytecode (were in own array). 2014-10-25 20:23:13 +01:00
bc.h py: Store bytecode arg names in bytecode (were in own array). 2014-10-25 20:23:13 +01:00
bc0.h py: Compress load-int, load-fast, store-fast, unop, binop bytecodes. 2014-10-25 20:23:13 +01:00
binary.c py: Make mp_binary_set_val work on big endian machine. 2014-10-06 15:05:35 +00:00
binary.h py: Make mp_binary_set_val work on big endian machine. 2014-10-06 15:05:35 +00:00
builtin.c py: Add builtin round function. 2014-10-31 11:28:50 +00:00
builtin.h py: Add builtin round function. 2014-10-31 11:28:50 +00:00
builtinevex.c py: Implement compile builtin, enabled only on unix port. 2014-10-25 22:07:25 +01:00
builtinimport.c unix: Implement -m option (execute module from stdlib). 2014-10-26 15:54:19 +00:00
builtintables.c py: Add builtin round function. 2014-10-31 11:28:50 +00:00
builtintables.h py: Add module weak link support. 2014-10-12 20:18:40 +01:00
compile.c py: Fix bug with right-shifting small ints by large amounts. 2014-11-02 02:41:30 +02:00
compile.h py: Implement proper context save/restore for eval/exec; factor code. 2014-10-05 20:13:34 +01:00
emit.h
emitbc.c py: Compress load-int, load-fast, store-fast, unop, binop bytecodes. 2014-10-25 20:23:13 +01:00
emitcommon.c
emitcpy.c
emitglue.c unix: Make -v dump memory info at exit. 2014-10-26 22:36:56 +00:00
emitglue.h py: Store bytecode arg names in bytecode (were in own array). 2014-10-25 20:23:13 +01:00
emitinlinethumb.c py: Make macro names in assemblers consistent, and tidy up a bit. 2014-09-29 19:42:06 +01:00
emitnative.c py: Partially fix viper multi-comparison; add test for it. 2014-10-19 19:00:51 +01:00
emitpass1.c
formatfloat.c
formatfloat.h
gc.c py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 2014-10-31 21:30:46 +00:00
gc.h py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 2014-10-31 21:30:46 +00:00
grammar.h
lexer.c py: Add further checks for failed malloc in lexer init functions. 2014-10-09 16:53:37 +01:00
lexer.h
lexerstr.c py: Add further checks for failed malloc in lexer init functions. 2014-10-09 16:53:37 +01:00
lexerunix.c py: Add further checks for failed malloc in lexer init functions. 2014-10-09 16:53:37 +01:00
lexerunix.h
makeqstrdata.py
malloc.c py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 2014-10-31 21:30:46 +00:00
map.c
misc.h py: Add further checks for failed malloc in lexer init functions. 2014-10-09 16:53:37 +01:00
mkenv.mk
mkrules.mk
modarray.c
modcmath.c
modcollections.c
modgc.c py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 2014-10-31 21:30:46 +00:00
modio.c
modmath.c
modmicropython.c
modstruct.c py: Make mp_binary_set_val work on big endian machine. 2014-10-06 15:05:35 +00:00
modsys.c py: Move definition of mp_sys_exit to core. 2014-09-15 15:53:09 +01:00
mpconfig.h unix: fast: Set initial module dict size big to have high pystone score. 2014-11-05 00:30:21 +02:00
mpz.c mpz: Fix 64bit msvc build 2014-10-30 23:00:24 +00:00
mpz.h mpz: Fix 64bit msvc build 2014-10-30 23:00:24 +00:00
nativeglue.c py: Add casting to viper; add native mem stores to viper. 2014-09-29 22:10:41 +01:00
nlr.h
nlrsetjmp.c
nlrthumb.S py: Clean up nlr*.S to make it easier to read; fix clang .bss error. 2014-09-26 13:07:26 +00:00
nlrx64.S py: Clean up nlr*.S to make it easier to read; fix clang .bss error. 2014-09-26 13:07:26 +00:00
nlrx86.S py: Clean up nlr*.S to make it easier to read; fix clang .bss error. 2014-09-26 13:07:26 +00:00
obj.c py: Fix builtin callable so it checks user-defined instances correctly. 2014-11-03 16:09:39 +00:00
obj.h py: Add mp_pending_exception global variable, for VM soft interrupt. 2014-10-25 23:37:57 +01:00
objarray.c Fix errors after enabling -Wpointer-arith 2014-10-29 15:42:38 +00:00
objarray.h
objbool.c py: Make native emitter handle multi-compare and not/is not/not in ops. 2014-09-23 14:15:45 +00:00
objboundmeth.c py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. 2014-10-03 19:52:22 +01:00
objcell.c
objclosure.c objclosure: Fix printing of generator closures. 2014-10-16 00:14:01 +03:00
objcomplex.c
objdict.c py: Add native json printing using existing print framework. 2014-09-17 22:56:34 +01:00
objenumerate.c
objexcept.c py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 2014-10-31 21:30:46 +00:00
objfilter.c
objfloat.c
objfun.c py: Store bytecode arg names in bytecode (were in own array). 2014-10-25 20:23:13 +01:00
objfun.h py: Store bytecode arg names in bytecode (were in own array). 2014-10-25 20:23:13 +01:00
objgenerator.c py: Store bytecode arg names in bytecode (were in own array). 2014-10-25 20:23:13 +01:00
objgenerator.h
objgetitemiter.c
objint.c py: Make int.to_bytes work on big endian machine. 2014-10-06 13:45:34 +00:00
objint.h py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00
objint_longlong.c
objint_mpz.c mpz: Fix 64bit msvc build 2014-10-30 23:00:24 +00:00
objlist.c py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00
objlist.h
objmap.c
objmodule.c unix: fast: Set initial module dict size big to have high pystone score. 2014-11-05 00:30:21 +02:00
objmodule.h
objnamedtuple.c py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00
objnone.c py: Add native json printing using existing print framework. 2014-09-17 22:56:34 +01:00
objobject.c
objproperty.c
objrange.c py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00
objreversed.c
objset.c
objslice.c
objstr.c py: Allow bytes object as argument to some str methods. 2014-11-05 16:45:54 +00:00
objstr.h py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. 2014-10-03 19:52:22 +01:00
objstringio.c
objstrunicode.c objstr: Allow to convert any buffer proto object to str. 2014-10-31 00:03:53 +02:00
objtuple.c py: Add native json printing using existing print framework. 2014-09-17 22:56:34 +01:00
objtuple.h
objtype.c py: Explicitly set uninitialised struct member to false. 2014-11-03 16:18:51 +00:00
objtype.h py: Fix builtin callable so it checks user-defined instances correctly. 2014-11-03 16:09:39 +00:00
objzip.c
opmethods.c
parse.c py: Properly free string parse-node; add assertion to gc_free. 2014-10-23 14:13:05 +01:00
parse.h py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00
parsehelper.c
parsehelper.h
parsenum.c
parsenum.h
parsenumbase.c
parsenumbase.h
pfenv.c py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00
pfenv.h py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00
pfenv_printf.c
py-version.sh
py.mk extmod: Add uheapq module. 2014-10-22 23:20:15 +01:00
qstr.c py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 2014-10-31 21:30:46 +00:00
qstr.h py: Change [u]int to mp_[u]int_t in qstr.[ch], and some other places. 2014-10-03 19:52:22 +01:00
qstrdefs.h py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 2014-10-31 21:30:46 +00:00
repl.c py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00
repl.h
runtime.c py: Fix bug with right-shifting small ints by large amounts. 2014-11-02 02:41:30 +02:00
runtime.h py: Add mp_pending_exception global variable, for VM soft interrupt. 2014-10-25 23:37:57 +01:00
runtime0.h py: Make native emitter handle multi-compare and not/is not/not in ops. 2014-09-23 14:15:45 +00:00
scope.c
scope.h
sequence.c py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00
showbc.c py: Compress load-int, load-fast, store-fast, unop, binop bytecodes. 2014-10-25 20:23:13 +01:00
smallint.c py: Fix smallint modulo with negative arguments. 2014-10-22 23:05:50 +01:00
smallint.h
stackctrl.c
stackctrl.h
stream.c py: Use mp_uint_t where appropriate in stream functions. 2014-10-24 11:26:12 +00:00
stream.h unix, stmhal: Implement file.readinto() method. 2014-10-18 22:44:07 +03:00
unicode.c
unicode.h
vm.c py: Fix VM dispatch following a pending exception check. 2014-10-26 00:33:23 +01:00
vmentrytable.h py: Compress load-int, load-fast, store-fast, unop, binop bytecodes. 2014-10-25 20:23:13 +01:00
vstr.c py: Convert [u]int to mp_[u]int_t where appropriate. 2014-10-03 17:44:14 +00:00