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