You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the functionality of clearcaches.py as a command-line option to macropython. Done in 07612fc.
It's a generally useful tool; even the docs already say there are some special use cases where clearing bytecode caches is useful.
See macropython -c dir (equivalent: macropython --clean dir), or for a dry run, macropython -c dir -n (equivalent: macropython --clean dir --dry-run).
clearcaches.py is now gone. (No major version bump, because it wasn't installed anyway.)
At the project top-level folder, add a script to clear bytecode caches, then run all tests and demos, and then run them again (to test also behavior with cached bytecode). Will be done in 3.2.0, see issue Final touches for 3.2.0 #23.
Generalize functions that currently assume a single node with a body attribute.
At least most of them could work also when the input is a list of AST nodes.
To find them, grep the codebase for "Primarily meant to be called".
Documentation:
Multiphase: compiler feature, not importer.
Rename "the import algorithm" to something semantically sensible; it has to do with compilation, not importing.
The text was updated successfully, but these errors were encountered:
Add the functionality ofDone in 07612fc.clearcaches.py
as a command-line option tomacropython
.macropython -c dir
(equivalent:macropython --clean dir
), or for a dry run,macropython -c dir -n
(equivalent:macropython --clean dir --dry-run
).clearcaches.py
is now gone. (No major version bump, because it wasn't installed anyway.)At the project top-level folder, add a script to clear bytecode caches, then run all tests and demos, and then run them again (to test also behavior with cached bytecode).Will be done in 3.2.0, see issue Final touches for 3.2.0 #23.Generalize functions that currently assume a single node with a
body
attribute.list
of AST nodes.Documentation:
The text was updated successfully, but these errors were encountered: