Visitar URL original
Defaults for functions should be emitted as a constant tuple when possible · Issue #105 · RustPython/RustPython · GitHub
The Wayback Machine - https://web.archive.org/web/20260604075333/https://github.com/RustPython/RustPython/issues/105
Skip to content

Defaults for functions should be emitted as a constant tuple when possible #105

@OddBloke

Description

@OddBloke

Currently we emit instructions to build a tuple, but the contents are constant, so we can just emit the constructed tuple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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