micropython/py
Paul Sokolovsky 5c18730f28 py/runtime: Fix qstr assumptions when handling "import *".
There was an assumption that all names in a module dict are qstr's.
However, they can be dynamically generated (by assigning to globals()),
and in case of a long name, it won't be a qstr. Handle this situation
properly, including taking care of not creating superfluous qstr's for
names starting with "_" (which aren't imported by "import *").
2018-11-01 13:33:16 +11:00
..
argcheck.c py: Shorten error messages by using contractions and some rewording. 2018-09-20 14:33:10 +10:00
asmarm.c py/asmarm: Simplify asm_arm_bl_ind to only load via index, not literal. 2018-10-13 15:16:33 +11:00
asmarm.h py/emitnative: Remove unused ptr argument from ASM_CALL_IND macro. 2018-10-13 15:16:33 +11:00
asmbase.c
asmbase.h
asmthumb.c py/asmthumb: Remove unused fun_ptr arg from asm_thumb_bl_ind function. 2018-10-13 15:16:33 +11:00
asmthumb.h py/emitnative: Remove unused ptr argument from ASM_CALL_IND macro. 2018-10-13 15:16:33 +11:00
asmx64.c py/emitnative: Load native fun table ptr from const table for all archs. 2018-10-13 15:16:33 +11:00
asmx64.h py/emitnative: Remove unused ptr argument from ASM_CALL_IND macro. 2018-10-13 15:16:33 +11:00
asmx86.c py/emitnative: Load native fun table ptr from const table for all archs. 2018-10-13 15:16:33 +11:00
asmx86.h py/emitnative: Remove unused ptr argument from ASM_CALL_IND macro. 2018-10-13 15:16:33 +11:00
asmxtensa.c py/emitnative: Load native fun table ptr from const table for all archs. 2018-10-13 15:16:33 +11:00
asmxtensa.h py/emitnative: Remove unused ptr argument from ASM_CALL_IND macro. 2018-10-13 15:16:33 +11: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/scope: Optimise scope_find_or_add_id to not need "added" arg. 2018-10-28 00:38:18 +11: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/scope: Optimise scope_find_or_add_id to not need "added" arg. 2018-10-28 00:38:18 +11: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/scope: Optimise scope_find_or_add_id to not need "added" arg. 2018-10-28 00:38:18 +11:00
emitglue.c py/emitnative: Implement yield and yield-from in native emitter. 2018-10-01 13:31:11 +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/emitnative: Put None/False/True in global native const table. 2018-10-15 00:20:49 +11: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/emitnative: Implement yield and yield-from in native emitter. 2018-10-01 13:31:11 +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
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
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/modmath: Add math.factorial, optimised and non-opt implementations. 2018-09-26 15:03:04 +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/objmodule: Implement PEP 562's __getattr__ for modules. 2018-10-23 11:22:50 +11: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/emitnative: Put None/False/True in global native const table. 2018-10-15 00:20:49 +11:00
nlr.c
nlr.h
nlrsetjmp.c
nlrthumb.c
nlrx64.c
nlrx86.c
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/obj.h: Use uint64_t instead of mp_int_t in repr-D MP_OBJ_IS_x macros. 2018-10-01 16:36:46 +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
objdict.c py/objdict: Reword TODO about inlining mp_obj_dict_get to a note. 2018-09-27 15:14:12 +10:00
objenumerate.c
objexcept.c
objexcept.h
objfilter.c
objfloat.c py/objfloat: Fix abs(-0.0) so it returns 0.0. 2018-09-27 15:21:25 +10:00
objfun.c py/emitnative: Implement yield and yield-from in native emitter. 2018-10-01 13:31:11 +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/emitnative: Implement yield and yield-from in native emitter. 2018-10-01 13:31:11 +10:00
objgenerator.h
objgetitemiter.c
objint.c py/objint: Remove TODO about checking of int() arg types with 2 args. 2018-09-27 15:15:29 +10:00
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: Implement PEP 562's __getattr__ for modules. 2018-10-23 11:22:50 +11: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 py/objslice: Remove long-obsolete comment about enhancing slice object. 2018-09-27 11:23:31 +10:00
objstr.c py/objstr: Make str.count() method configurable. 2018-10-22 22:49:05 +11:00
objstr.h
objstringio.c
objstringio.h
objstrunicode.c py/objstr: Make str.count() method configurable. 2018-10-22 22:49:05 +11:00
objtuple.c
objtuple.h
objtype.c py/objtype: Remove comment about catching exc from user __getattr__. 2018-10-18 12:15:16 +11: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/parsenum: Avoid rounding errors with negative powers-of-10. 2018-09-20 22:06:41 +10:00
parsenum.h
parsenumbase.c
parsenumbase.h
persistentcode.c
persistentcode.h
py.mk py/py.mk: When building axtls use -Wno-all to prevent all warnings. 2018-10-27 23:53:08 +11: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
repl.h
ringbuf.h
runtime.c py/runtime: Fix qstr assumptions when handling "import *". 2018-11-01 13:33:16 +11:00
runtime.h py: Fix msvc C++ compiler warnings with MP_OBJ_FUN_MAKE_SIG macro. 2018-09-26 15:34:59 +10:00
runtime0.h py/emitnative: Put None/False/True in global native const table. 2018-10-15 00:20:49 +11:00
runtime_utils.c
scheduler.c
scope.c py/scope: Optimise scope_find_or_add_id to not need "added" arg. 2018-10-28 00:38:18 +11:00
scope.h py/scope: Optimise scope_find_or_add_id to not need "added" arg. 2018-10-28 00:38:18 +11: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: When VM raises exception put exc obj at beginning of func state. 2018-09-29 23:25:08 +10:00
vmentrytable.h
vstr.c
warning.c