summaryrefslogtreecommitdiff
path: root/tools/mpy-tool.py
AgeCommit message (Collapse)Author
2016-09-02tools/mpy-tool.py: Compute the hash value for str/bytes objects.Damien George
This makes it more efficient at runtime to hash str/bytes objects.
2016-09-02tools/mpy-tool.py: Store qstr config values in global config object.Damien George
Makes it easier to access them without passing around another dict of the config values.
2016-08-10tools/mpy-tool.py: Support freezing float literals with obj-repr C.Damien George
The tool now generates code for freezing floats in obj-repr A, B or C, with the specific representation detected at compile time using macros.
2016-05-23tools/mpy-tool.py: Don't strip directories from the frozen source name.Damien George
Directories are now supported by the frozen import system (to implement frozen packages) so we should keep them.
2016-05-23tools/mpy-tool.py: Include .py extension in frozen filename.Damien George
So that it can be correctly stat'd when looking for frozen files.
2016-05-16tools/mpy-tool.py: Add checks for critical configuration vars.Damien George
When an mpy file is frozen it must know the values of certain configuration variables. This patch provides an explicit check in the generated C file that the configuration variables are what they are supposed to be.
2016-05-03tools/mpy-tool: Make sure that all C-level variables are unique.Damien George
Fixes issue #2023.
2016-04-15tools/mpy-tool.py: Add support for Python 2.7.Damien George
2016-04-13tools: Add mpy-tool.py, to work with .mpy files.Damien George
Currently it can freeze .mpy files.