micropython/tests/cmdline
Petr Viktorin 25a9bccdee py/compile: Disallow 'import *' outside module level.
This check follows CPython's behaviour, because 'import *' always populates
the globals with the imported names, not locals.

Since it's safe to do this (doesn't lead to a crash or undefined behaviour)
the check is only enabled for MICROPY_CPYTHON_COMPAT.

Fixes issue #5121.
2019-10-04 16:46:47 +10:00
..
cmd_optimise.py
cmd_optimise.py.exp
cmd_parsetree.py
cmd_parsetree.py.exp py: Rework and compress second part of bytecode prelude. 2019-10-01 12:26:22 +10:00
cmd_showbc.py py/compile: Disallow 'import *' outside module level. 2019-10-04 16:46:47 +10:00
cmd_showbc.py.exp py/compile: Disallow 'import *' outside module level. 2019-10-04 16:46:47 +10:00
cmd_verbose.py
cmd_verbose.py.exp py: Rework and compress second part of bytecode prelude. 2019-10-01 12:26:22 +10:00
repl_autocomplete.py
repl_autocomplete.py.exp
repl_basic.py
repl_basic.py.exp
repl_cont.py
repl_cont.py.exp
repl_emacs_keys.py
repl_emacs_keys.py.exp