summaryrefslogtreecommitdiffstats
path: root/Grammar
Commit message (Collapse)AuthorAgeFilesLines
* Make first raise argument optionalGuido van Rossum1998-04-091-1/+1
|
* OK, ready to make 'assert' a keyword (instead of '__assert__').Guido van Rossum1997-04-161-1/+1
|
* Added __assert__ statement (later to be renamed)Guido van Rossum1997-04-021-1/+2
|
* Disable support for access statementGuido van Rossum1996-08-121-5/+6
|
* Changes for stride in slices (x[a:b:c]) and ellipses (x[a,...,z])Guido van Rossum1996-07-301-2/+4
|
* Added power (**) operatorGuido van Rossum1996-01-121-3/+4
|
* new grammar for 3rd raise arg and keyword parametersGuido van Rossum1995-07-071-3/+6
|
* changed import to support NAME.NAME...NAMEGuido van Rossum1995-01-071-1/+2
|
* Got rid of history (was beginning to get silly).Guido van Rossum1994-09-291-100/+10
| | | | Removed a few diagram breaks since Kees' program is now cleverer
* Added #diagram:... comments for Kees Blom's railroad diagram generatorGuido van Rossum1994-08-171-3/+19
|
* Bring alpha100 revision back to mainlineGuido van Rossum1994-08-011-3/+12
|
* Added (dummy) depend targetGuido van Rossum1993-12-281-0/+2
|
* Py -> IncludeGuido van Rossum1993-12-261-1/+1
|
* NoneGuido van Rossum1993-12-241-0/+28
|
* * Grammar: corrected old typo (class instead of 'class')Guido van Rossum1993-12-201-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 Rossum1993-11-301-4/+2
|
* * import.c (get_module): pass .py filename to parse_file, not .pyc filename!Guido van Rossum1993-11-301-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 Rossum1993-10-271-2/+1
|
* * compile.[ch]: support for lambda()Guido van Rossum1993-10-261-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 Rossum1993-10-181-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 Rossum1993-05-211-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 Rossum1993-05-191-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 entriesGuido van Rossum1992-04-061-0/+6
|
* Use only '*' for varargs listGuido van Rossum1992-04-061-1/+1
|
* Tighten syntax for try statementsGuido van Rossum1992-03-311-1/+2
|
* Allow NEWLINE* after eval input.Guido van Rossum1992-03-041-1/+4
|
* Add '*' for varargs list.Guido van Rossum1992-01-261-1/+5
|
* Added varargs syntax "def f(a, b, +c): ..."Guido van Rossum1992-01-141-5/+11
|
* Don't allow '==' at top level yet, to catch conversion errors.Guido van Rossum1992-01-011-3/+2
|
* Allow trailing comma after fplist; '=' is no longer comparison;Guido van Rossum1991-12-311-4/+11
| | | | expr/assignment statement now allows testlists.
* Added 'global' and new class syntax.Guido van Rossum1991-12-101-4/+12
|
* Added shifting and masking operators.Guido van Rossum1991-10-241-3/+11
|
* Comparison operators '<=' '>' '<>' are now 1 token.Guido van Rossum1991-10-201-2/+6
| | | | Also support '!=' and '==' as alternatives for '<>' and '='.
* Change treatment of multiple NEWLINESGuido van Rossum1991-07-271-1/+4
|
* Added 'continue', semicolons and dictionary displays.Guido van Rossum1991-07-171-15/+24
|
* Removed 'dir' statement.Guido van Rossum1991-01-211-6/+7
| | | | Function call argument is a testlist instead of exprlist.
* Initial revisionGuido van Rossum1990-10-141-0/+71