Skip to content

Should not store docstrings #521

@pfalcon

Description

@pfalcon

As far as I can tell (saw them in bytecode dumps), currently uPy stores docstrings when compiling a code. That's all good of course, but should be optional, and apparently disabled by default.

Usecase: CPython's stdlib has verbose docstrings, so even few modules which were imported into micropython-lib waste kilobytes of heap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementations

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions