summaryrefslogtreecommitdiffstats
path: root/Python/graminit.c
Commit message (Collapse)AuthorAgeFilesLines
* Oops, missed some renamings.Guido van Rossum1997-05-071-1/+1
|
* OK, ready to make 'assert' a keyword (instead of '__assert__').Guido van Rossum1997-04-161-1/+1
|
* Added assert grammar.Guido van Rossum1997-04-021-494/+522
|
* Disable support for access statementGuido van Rossum1996-08-121-587/+535
|
* Changes for slice and ellipsesGuido van Rossum1996-07-301-103/+144
|
* changes for power (**) operatorGuido van Rossum1996-01-121-325/+359
|
* new grammarGuido van Rossum1995-07-071-74/+142
|
* Grammar changedGuido van Rossum1995-01-071-466/+480
|
* Merge back to main trunkGuido van Rossum1994-08-301-78/+94
|
* change syntactical position of lambdef (was an atom, now is a test)Guido van Rossum1993-11-301-73/+81
|
* * import.c (get_module): pass .py filename to parse_file, not .pyc filename!Guido van Rossum1993-11-301-625/+627
| | | | | | | | | | | * 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 Rossum1993-10-271-717/+700
|
* * compile.[ch]: support for lambda()Guido van Rossum1993-10-261-678/+704
| | | | | | | | | | * 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-398/+435
| | | | | | | * 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.
* * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.Guido van Rossum1993-06-171-16/+25
| | | | | | | | | | Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close().
* Several changes in one:Guido van Rossum1993-05-191-492/+490
| | | | | | | | | | | | | | | | (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.)
* Latest gramamrGuido van Rossum1992-04-061-132/+130
|
* tightened try statement syntaxGuido van Rossum1992-03-311-10/+22
|
* *** empty log message ***Guido van Rossum1992-03-241-605/+703
|
* New grammar (semicolons, continue, no multiple NEWLINES)Guido van Rossum1991-07-271-538/+577
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* "Compiling" versionGuido van Rossum1990-12-201-1/+1
|
* removed dir statement. Function arguments may now be tests.Guido van Rossum1990-10-261-487/+463
|
* Initial revisionGuido van Rossum1990-10-141-0/+1094