Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | extmod/modmarshal: Add new marshal module. | Damien George | 2025-02-11 |
This commit implements a small subset of the CPython `marshal` module. It implements `marshal.dumps()` and `marshal.loads()`, but only supports (un)marshalling code objects at this stage. The semantics match CPython, except that the actual marshalled bytes is not compatible with CPython's marshalled bytes. The module is enabled at the everything level (only on the unix coverage build at this stage). Signed-off-by: Damien George <damien@micropython.org> |