Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added .cvsignore so cvs doesn't complain about the generated graminit.h and | Skip Montanaro | 2000-07-27 | 1 | -0/+2 |
| | | | | graminit.c files. | ||||
* | slightly modified version of Greg Ewing's extended call syntax patch | Jeremy Hylton | 2000-03-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Make first raise argument optional | Guido van Rossum | 1998-04-09 | 1 | -1/+1 |
| | |||||
* | OK, ready to make 'assert' a keyword (instead of '__assert__'). | Guido van Rossum | 1997-04-16 | 1 | -1/+1 |
| | |||||
* | Added __assert__ statement (later to be renamed) | Guido van Rossum | 1997-04-02 | 1 | -1/+2 |
| | |||||
* | Disable support for access statement | Guido van Rossum | 1996-08-12 | 1 | -5/+6 |
| | |||||
* | Changes for stride in slices (x[a:b:c]) and ellipses (x[a,...,z]) | Guido van Rossum | 1996-07-30 | 1 | -2/+4 |
| | |||||
* | Added power (**) operator | Guido van Rossum | 1996-01-12 | 1 | -3/+4 |
| | |||||
* | new grammar for 3rd raise arg and keyword parameters | Guido van Rossum | 1995-07-07 | 1 | -3/+6 |
| | |||||
* | changed import to support NAME.NAME...NAME | Guido van Rossum | 1995-01-07 | 1 | -1/+2 |
| | |||||
* | Got rid of history (was beginning to get silly). | Guido van Rossum | 1994-09-29 | 1 | -100/+10 |
| | | | | Removed a few diagram breaks since Kees' program is now cleverer | ||||
* | Added #diagram:... comments for Kees Blom's railroad diagram generator | Guido van Rossum | 1994-08-17 | 1 | -3/+19 |
| | |||||
* | Bring alpha100 revision back to mainline | Guido van Rossum | 1994-08-01 | 1 | -3/+12 |
| | |||||
* | Added (dummy) depend target | Guido van Rossum | 1993-12-28 | 1 | -0/+2 |
| | |||||
* | Py -> Include | Guido van Rossum | 1993-12-26 | 1 | -1/+1 |
| | |||||
* | None | Guido van Rossum | 1993-12-24 | 1 | -0/+28 |
| | |||||
* | * Grammar: corrected old typo (class instead of 'class') | Guido van Rossum | 1993-12-20 | 1 | -1/+1 |
| | | | | | | | * dosmodule.c: MSDOS specific stuff from posixmodule.c. * posixmodule.c: removed all MSDOS specific stuff. * tokenizer.h, parsetok.h: in prototypes, don't mix named and unnamed parameters (MSC doesn't like this). | ||||
* | change syntactical position of lambdef (was an atom, now is a test) | Guido van Rossum | 1993-11-30 | 1 | -4/+2 |
| | |||||
* | * import.c (get_module): pass .py filename to parse_file, not .pyc filename! | Guido van Rossum | 1993-11-30 | 1 | -4/+8 |
| | | | | | | | | | | | * funcobject.c (func_repr): don't call getstringvalue(None) for anonymous functions. * bltinmodule.c: removed lambda (which is now a built-in function); removed implied lambda for string arg to filter/map/reduce. * Grammar, graminit.[ch], compile.[ch]: replaced lambda as built-in function by lambda as grammar entity: instead of "lambda('x: x+1')" you write "lambda x: x+1". * Xtmodule.c (checkargdict): return 0, not NULL, for error. | ||||
* | Committing the correct graminit.c; also changed confusing comments in Grammar. | Guido van Rossum | 1993-10-27 | 1 | -2/+1 |
| | |||||
* | * compile.[ch]: support for lambda() | Guido van Rossum | 1993-10-26 | 1 | -3/+7 |
| | | | | | | | | | | * PROTO.h, mymalloc.h: added #ifdefs for TURBOC and GNUC. * allobjects.h: added #include "rangeobject.h" * Grammar: added lambda_input; relaxed syntax for exec. * bltinmodule.c: added bagof, map, reduce, lambda, xrange. * tupleobject.[ch]: added resizetuple(). * rangeobject.[ch]: new object type to speed up range operations (not convinced this is needed!!!) | ||||
* | * bltinmodule.c: removed exec() built-in function. | Guido van Rossum | 1993-10-18 | 1 | -2/+7 |
| | | | | | | | * Grammar: add exec statement; allow testlist in expr statement. * ceval.c, compile.c, opcode.h: support exec statement; avoid optimizing locals when it is used * fileobject.{c,h}: add getfilename() internal function. | ||||
* | * Lots of small changes related to access. | Guido van Rossum | 1993-05-21 | 1 | -1/+1 |
| | | | | | | | * Added "access *: ...", made access work for class methods. * Introduced subclass check: make sure that when calling ClassName.methodname(instance, ...), the instance is an instance of ClassName or of a subclass thereof (this might break some old code!) | ||||
* | Several changes in one: | Guido van Rossum | 1993-05-19 | 1 | -7/+13 |
| | | | | | | | | | | | | | | | | (1) dictionaries/mappings now have attributes values() and items() as well as keys(); at the C level, use the new function mappinggetnext() to iterate over a dictionary. (2) "class C(): ..." is now illegal; you must write "class C: ...". (3) Class objects now know their own name (finally!); and minor improvements to the way how classes, functions and methods are represented as strings. (4) Added an "access" statement and semantics. (This is still experimental -- as long as you don't use the keyword 'access' nothing should be changed.) | ||||
* | Added missing change log entries | Guido van Rossum | 1992-04-06 | 1 | -0/+6 |
| | |||||
* | Use only '*' for varargs list | Guido van Rossum | 1992-04-06 | 1 | -1/+1 |
| | |||||
* | Tighten syntax for try statements | Guido van Rossum | 1992-03-31 | 1 | -1/+2 |
| | |||||
* | Allow NEWLINE* after eval input. | Guido van Rossum | 1992-03-04 | 1 | -1/+4 |
| | |||||
* | Add '*' for varargs list. | Guido van Rossum | 1992-01-26 | 1 | -1/+5 |
| | |||||
* | Added varargs syntax "def f(a, b, +c): ..." | Guido van Rossum | 1992-01-14 | 1 | -5/+11 |
| | |||||
* | Don't allow '==' at top level yet, to catch conversion errors. | Guido van Rossum | 1992-01-01 | 1 | -3/+2 |
| | |||||
* | Allow trailing comma after fplist; '=' is no longer comparison; | Guido van Rossum | 1991-12-31 | 1 | -4/+11 |
| | | | | expr/assignment statement now allows testlists. | ||||
* | Added 'global' and new class syntax. | Guido van Rossum | 1991-12-10 | 1 | -4/+12 |
| | |||||
* | Added shifting and masking operators. | Guido van Rossum | 1991-10-24 | 1 | -3/+11 |
| | |||||
* | Comparison operators '<=' '>' '<>' are now 1 token. | Guido van Rossum | 1991-10-20 | 1 | -2/+6 |
| | | | | Also support '!=' and '==' as alternatives for '<>' and '='. | ||||
* | Change treatment of multiple NEWLINES | Guido van Rossum | 1991-07-27 | 1 | -1/+4 |
| | |||||
* | Added 'continue', semicolons and dictionary displays. | Guido van Rossum | 1991-07-17 | 1 | -15/+24 |
| | |||||
* | Removed 'dir' statement. | Guido van Rossum | 1991-01-21 | 1 | -6/+7 |
| | | | | Function call argument is a testlist instead of exprlist. | ||||
* | Initial revision | Guido van Rossum | 1990-10-14 | 1 | -0/+71 |