• Jeremy Hylton's avatar
    slightly modified version of Greg Ewing's extended call syntax patch · 7690151c
    Jeremy Hylton yazdı
    executive summary:
    Instead of typing 'apply(f, args, kwargs)' you can type 'f(*arg, **kwargs)'.
    Some file-by-file details follow.
    
    Grammar/Grammar:
        simplify varargslist, replacing '*' '*' with '**'
        add * & ** options to arglist
    
    Include/opcode.h & Lib/dis.py:
        define three new opcodes
            CALL_FUNCTION_VAR
            CALL_FUNCTION_KW
            CALL_FUNCTION_VAR_KW
    
    Python/ceval.c:
        extend TypeError "keyword parameter redefined" message to include
            the name of the offending keyword
        reindent CALL_FUNCTION using four spaces
        add handling of sequences and dictionaries using extend calls
        fix function import_from to use PyErr_Format
    7690151c
Adı
Son kayıt (commit)
Son güncelleme
..
Grammar Loading commit data...
Makefile Loading commit data...