You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Damien George
23f0691fdd
py/persistentcode: Make .mpy more compact with qstr directly in prelude.
Instead of encoding 4 zero bytes as placeholders for the simple_name and
source_file qstrs, and storing the qstrs after the bytecode, store the
qstrs at the location of these 4 bytes. This saves 4 bytes per bytecode
function stored in a .mpy file (for example lcd160cr.mpy drops by 232
bytes, 4x 58 functions). And resulting code size is slightly reduced on
ports that use this feature.
5 years ago
..
pkg
tests: Split out those tests requiring float and import.
11 years ago
pkg2
tests: Split out those tests requiring float and import.
11 years ago
pkg3
tests: Split out those tests requiring float and import.
11 years ago
pkg6
tests: Add another testcase for relative imports.
10 years ago
pkg7
tests/import: Update comment now that uPy raises correct exception.
7 years ago
pkg8
tests/import: Improve builtinimport.c test coverage.
8 years ago
builtin_import.py
tests/import: Add a test for the builtin __import__ function.
7 years ago
gen_context.py
tests: Move gen_context to import tests, because it relies on import.
11 years ago
gen_context2.py
tests: Move gen_context to import tests, because it relies on import.
11 years ago
import1a.py
tests: Split out those tests requiring float and import.
11 years ago
import1b.py
tests: Split out those tests requiring float and import.
11 years ago
import2a.py
tests: Improve test coverage of py/compile.c.
8 years ago
import3a.py
tests: Split out those tests requiring float and import.
11 years ago
import_file.py
py: Implement __file__ attribute for modules.
10 years ago
import_long_dyn.py
tests/import_long_dyn: Test for "import *" of a long dynamic name.
6 years ago
import_long_dyn2.py
tests/import_long_dyn: Test for "import *" of a long dynamic name.
6 years ago
import_override.py
tests: Add tests for overriding builtins.__import__.
5 years ago
import_pkg1.py
tests/import: Add test for compiling "import a.b as c".
8 years ago
import_pkg2.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
import_pkg3.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
import_pkg4.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
import_pkg5.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago
import_pkg6.py
tests: Add another testcase for relative imports.
10 years ago
import_pkg7.py
tests/import: Improve builtinimport.c test coverage.
8 years ago
import_pkg8.py
tests/import: Improve builtinimport.c test coverage.
8 years ago
import_star_error.py
py/compile: Disallow 'import *' outside module level.
5 years ago
module_getattr.py
py/objmodule: Implement PEP 562's __getattr__ for modules.
6 years ago
module_getattr.py.exp
tests/import: Add .exp file for module_getattr.py to not require Py 3.7.
6 years ago
mpy_invalid.py
py/persistentcode: Add a qstr window to save mpy files more efficiently.
6 years ago
mpy_invalid.py.exp
py/persistentcode: Add a qstr window to save mpy files more efficiently.
6 years ago
mpy_native.py
py/persistentcode: Make .mpy more compact with qstr directly in prelude.
5 years ago
mpy_native.py.exp
tests/import: Add test for importing x64 native code.
6 years ago
rel_import_inv.py
tests: Add test for relative import without package context.
10 years ago
try_module.py
tests: Rename test scripts, changing - to _ for consistency.
10 years ago