summaryrefslogtreecommitdiffstats
path: root/Include/graminit.h
Commit message (Collapse)AuthorAgeFilesLines
* Added assert grammar.Guido van Rossum1997-04-021-32/+33
|
* Disable support for access statementGuido van Rossum1996-08-121-35/+33
|
* Changes due to slice and ellipses grammar changesGuido van Rossum1996-07-301-7/+9
|
* changes for ** (power) operatorGuido van Rossum1996-01-121-10/+11
|
* new grammar symbols arglist and argumentGuido van Rossum1995-07-071-0/+2
|
* Changed since Grammar has changedGuido van Rossum1995-01-071-31/+32
|
* * import.c (get_module): pass .py filename to parse_file, not .pyc filename!Guido van Rossum1993-11-301-43/+43
| | | | | | | | | | | * 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.
* * compile.[ch]: support for lambda()Guido van Rossum1993-10-261-2/+2
| | | | | | | | | | * 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 Rossum1993-10-181-26/+27
| | | | | | | * 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.
* Several changes in one:Guido van Rossum1993-05-191-28/+28
| | | | | | | | | | | | | | | | (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.)
* *** empty log message ***Guido van Rossum1992-03-241-62/+44
|
* New syntaxGuido van Rossum1991-07-271-32/+35
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* removed dir statement. Function arguments may now be tests.Guido van Rossum1990-10-261-30/+29
|
* Initial revisionGuido van Rossum1990-10-141-0/+43