Skip to content

Keyword arguments to calls #6

@arnsholt

Description

@arnsholt

Python doesn't really have keyword arguments (except when it does), only positionals. Thus, a call like foo(a=1) actually passes the value of argument a in its positional slot. The only case where keyword args have an independent existence is when a function has a **excess parameter to contain names not already defined in the parameter list.

Thus, we need some kind of binder process, either converting nameds to positionals or positionals nameds. Of course, this has to interact properly with default values and the like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions