[Python-checkins] CVS: python/dist/src/Misc ACKS,1.49,1.50

Jeremy Hylton python-dev@python.org
Tue, 28 Mar 2000 18:49:14 -0500

Update of /projects/cvsroot/python/dist/src/Misc
In directory goon.cnri.reston.va.us:/home/jhylton/python/src/Misc

Modified Files:
Log Message:
slightly modified version of Greg Ewing's extended call syntax patch

executive summary:
Instead of typing 'apply(f, args, kwargs)' you can type 'f(*arg, **kwargs)'.
Some file-by-file details follow.

    simplify varargslist, replacing '*' '*' with '**'
    add * & ** options to arglist

Include/opcode.h & Lib/dis.py:
    define three new opcodes

    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

Index: ACKS
RCS file: /projects/cvsroot/python/dist/src/Misc/ACKS,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -r1.49 -r1.50
*** ACKS	1999/04/13 14:32:42	1.49
--- ACKS	2000/03/28 23:49:12	1.50
*** 88,91 ****
--- 88,92 ----
  Tim Everett
  Paul Everitt
+ Greg Ewing
  Mark Favas
  Niels Ferguson