micropython/py
Damien George 3f6ffe059f py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError.
This commit implements PEP479 which disallows raising StopIteration inside
a generator to signal that it should be finished.  Instead, the generator
should simply return when it is complete.

See https://www.python.org/dev/peps/pep-0479/ for details.
2018-09-20 15:36:59 +10:00
..
argcheck.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
asmarm.c py/asm*: Support assembling code to jump to a register, and get PC+off. 2018-08-16 13:45:24 +10:00
asmarm.h py/asm*: Support assembling code to jump to a register, and get PC+off. 2018-08-16 13:45:24 +10:00
asmbase.c
asmbase.h
asmthumb.c py/asmthumb: Detect presence of I-cache using CMSIS macro. 2018-09-16 01:50:45 +10:00
asmthumb.h py/asm*: Support assembling code to jump to a register, and get PC+off. 2018-08-16 13:45:24 +10:00
asmx64.c py/{asmx86,asmx64}: Extend test_r8_with_r8 to accept all 8 lower regs. 2018-09-14 17:38:09 +10:00
asmx64.h py/asm*: Support assembling code to jump to a register, and get PC+off. 2018-08-16 13:45:24 +10:00
asmx86.c py/{asmx86,asmx64}: Extend test_r8_with_r8 to accept all 8 lower regs. 2018-09-14 17:38:09 +10:00
asmx86.h py/asm*: Support assembling code to jump to a register, and get PC+off. 2018-08-16 13:45:24 +10:00
asmxtensa.c py/asmxtensa: Make indirect calls using func table, not raw pointers. 2018-09-16 00:43:24 +10:00
asmxtensa.h py/asmxtensa: Make indirect calls using func table, not raw pointers. 2018-09-16 00:43:24 +10:00
bc.c
bc.h
bc0.h
binary.c
binary.h
builtin.h extmod/moducryptolib: Add ucryptolib module with crypto functions. 2018-06-27 14:54:40 +10:00
builtinevex.c
builtinhelp.c py: Simplify some cases of accessing the map of module and type dict. 2018-07-08 21:31:09 +10:00
builtinimport.c
compile.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
compile.h py/emit: Move MP_EMIT_OPT_xxx enums from compile.h to emitglue.h. 2018-09-15 12:17:09 +10:00
emit.h py/emit: Completely remove set_native_type, arg type is set in compiler. 2018-09-15 13:00:11 +10:00
emitbc.c py/emit: Completely remove set_native_type, arg type is set in compiler. 2018-09-15 13:00:11 +10:00
emitcommon.c py/emit: Combine name and global into one func for load/store/delete. 2018-05-23 00:22:47 +10:00
emitglue.c py: Make viper functions have the same entry signature as native. 2018-09-15 22:39:27 +10:00
emitglue.h py/emit: Move MP_EMIT_OPT_xxx enums from compile.h to emitglue.h. 2018-09-15 12:17:09 +10:00
emitinlinethumb.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
emitinlinextensa.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
emitnarm.c py/emitnative: Add support for return/break/continue in try and with. 2018-09-04 14:31:28 +10:00
emitnative.c py/asmxtensa: Make indirect calls using func table, not raw pointers. 2018-09-16 00:43:24 +10:00
emitnthumb.c py/emitnative: Add support for return/break/continue in try and with. 2018-09-04 14:31:28 +10:00
emitnx64.c py/emitnative: Add support for return/break/continue in try and with. 2018-09-04 14:31:28 +10:00
emitnx86.c py: Make viper functions have the same entry signature as native. 2018-09-15 22:39:27 +10:00
emitnxtensa.c py/emitnative: Add support for return/break/continue in try and with. 2018-09-04 14:31:28 +10:00
formatfloat.c
formatfloat.h
frozenmod.c
frozenmod.h
gc.c py/gc: In gc_alloc, reset n_free var right before search for free mem. 2018-08-14 16:11:21 +10:00
gc.h py/gc: Add gc_sweep_all() function to run all remaining finalisers. 2018-06-12 11:55:29 +10:00
grammar.h py/compile: Combine expr, xor_expr and and_expr into one function. 2018-06-22 17:00:29 +10:00
lexer.c py/lexer: Add support for underscores in numeric literals. 2018-06-12 12:17:43 +10:00
lexer.h
makeqstrdata.py py/modbuiltins: Make built-in dir support the __dir__ special method. 2018-05-10 23:14:23 +10:00
makeqstrdefs.py
makeversionhdr.py
malloc.c py/malloc: Give a compile warning if using finaliser without GC. 2018-07-09 14:40:02 +10:00
map.c py: Fix compiling with debug enabled and make more use of DEBUG_printf. 2018-08-02 14:17:24 +10:00
misc.h py/misc.h: Add MP_STATIC_ASSERT macro to do static assertions. 2018-05-18 23:31:00 +10:00
mkenv.mk
mkrules.mk py/mkrules.mk: Regenerate all qstrs when config files change. 2018-06-12 13:53:43 +10:00
modarray.c
modbuiltins.c py/modbuiltins: Make oct/hex work when !MICROPY_PY_BUILTINS_STR_OP_MODULO 2018-09-20 14:41:35 +10:00
modcmath.c
modcollections.c
modgc.c
modio.c py/modio: Add uio.IOBase class to allow to define user streams. 2018-06-12 12:29:26 +10:00
modmath.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
modmicropython.c
modstruct.c
modsys.c py: Add checks for stream objects in print() and sys.print_exception(). 2018-06-20 15:57:10 +10:00
modthread.c
moduerrno.c
mpconfig.h py/objstr: Make % (__mod__) formatting operator configurable. 2018-09-20 14:41:08 +10:00
mperrno.h
mphal.h
mpprint.c
mpprint.h
mpstate.c
mpstate.h extmod/uos_dupterm: Use native C stream methods on dupterm object. 2018-06-12 15:06:11 +10:00
mpthread.h
mpz.c py/mpz: Avoid undefined behavior at integer overflow in mpz_hash. 2018-05-21 12:48:26 +10:00
mpz.h
nativeglue.c py: Make viper functions have the same entry signature as native. 2018-09-15 22:39:27 +10:00
nlr.c
nlr.h
nlrsetjmp.c
nlrthumb.c
nlrx64.c
nlrx86.c py/nlrx86: Use naked attribute on nlr_push for gcc 8.0 and higher. 2018-05-15 11:17:28 +10:00
nlrxtensa.c
obj.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
obj.h py: Optimise call to mp_arg_check_num by compressing fun signature. 2018-09-14 13:39:17 +10:00
objarray.c py/objarray: bytearray: Allow 2nd/3rd arg to constructor. 2018-09-11 15:10:10 +10:00
objarray.h py/objarray: Replace 0x80 with new MP_OBJ_ARRAY_TYPECODE_FLAG_RW macro. 2018-06-18 13:40:53 +10:00
objattrtuple.c
objbool.c
objboundmeth.c
objcell.c
objclosure.c
objcomplex.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
objdeque.c py/objdeque: Fix sign extension bug when computing len of deque object. 2018-05-11 13:44:50 +10:00
objdict.c py/objdict: Make mp_obj_dict_get_map an inline function. 2018-07-08 22:27:05 +10:00
objenumerate.c
objexcept.c
objexcept.h
objfilter.c
objfloat.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
objfun.c py: Make viper functions have the same entry signature as native. 2018-09-15 22:39:27 +10:00
objfun.h py/objgenerator: Implement __name__ with normal fun attr accessor code. 2018-07-10 16:33:57 +10:00
objgenerator.c py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError. 2018-09-20 15:36:59 +10:00
objgenerator.h
objgetitemiter.c
objint.c
objint.h
objint_longlong.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
objint_mpz.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
objlist.c
objlist.h
objmap.c
objmodule.c py/objmodule: Make mp_obj_module_get_globals an inline function. 2018-07-08 22:27:39 +10:00
objmodule.h
objnamedtuple.c
objnamedtuple.h
objnone.c
objobject.c
objpolyiter.c
objproperty.c
objrange.c
objreversed.c
objset.c
objsingleton.c
objslice.c
objstr.c py/objstr: Make % (__mod__) formatting operator configurable. 2018-09-20 14:41:08 +10:00
objstr.h
objstringio.c
objstringio.h
objstrunicode.c
objtuple.c
objtuple.h
objtype.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
objtype.h py/objtype: Don't expose mp_obj_instance_attr(). 2018-06-08 11:48:25 +10:00
objzip.c
opmethods.c
parse.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
parse.h
parsenum.c py/lexer: Add support for underscores in numeric literals. 2018-06-12 12:17:43 +10:00
parsenum.h
parsenumbase.c
parsenumbase.h
persistentcode.c
persistentcode.h
py.mk py/py.mk: Build axtls library directly from its source files. 2018-09-08 00:07:23 +10:00
pystack.c
pystack.h
qstr.c
qstr.h
qstrdefs.h py/modbuiltins: Make oct/hex work when !MICROPY_PY_BUILTINS_STR_OP_MODULO 2018-09-20 14:41:35 +10:00
reader.c py/reader: Allow MICROPY_VFS_POSIX to work with MICROPY_READER_POSIX. 2018-06-06 14:28:23 +10:00
reader.h
repl.c py/repl: Fix handling of unmatched brackets and unfinished quotes. 2018-05-18 15:23:02 +10:00
repl.h
ringbuf.h
runtime.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
runtime.h py: Optimise call to mp_arg_check_num by compressing fun signature. 2018-09-14 13:39:17 +10:00
runtime0.h py: Make viper functions have the same entry signature as native. 2018-09-15 22:39:27 +10:00
runtime_utils.c
scheduler.c
scope.c
scope.h py/emit: Completely remove set_native_type, arg type is set in compiler. 2018-09-15 13:00:11 +10:00
sequence.c
showbc.c
smallint.c
smallint.h
stackctrl.c
stackctrl.h
stream.c py/stream: Adjust mp_stream_posix_XXX to take void*, not mp_obj_t. 2018-08-14 17:36:08 +10:00
stream.h py/stream: Adjust mp_stream_posix_XXX to take void*, not mp_obj_t. 2018-08-14 17:36:08 +10:00
unicode.c
unicode.h
vm.c py/vm: Fix handling of finally-return with complex nested finallys. 2018-09-03 13:08:16 +10:00
vmentrytable.h
vstr.c
warning.c