summaryrefslogtreecommitdiffstats
path: root/Include/graminit.h
Commit message (Collapse)AuthorAgeFilesLines
* * 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