• Paul Sokolovsky's avatar
    Implement default function arguments (for Python functions). · 90750029
    Paul Sokolovsky authored
    TODO: Decide if we really need separate bytecode for creating functions
    with default arguments - we would need same for closures, then there're
    keywords arguments too. Having all combinations is a small exponential
    explosion, likely we need just 2 cases - simplest (no defaults, no kw),
    and full - defaults & kw.
    90750029
emitbc.c 26.4 KB