summaryrefslogtreecommitdiffstats
path: root/Lib/token.py
Commit message (Collapse)AuthorAgeFilesLines
* Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ↵Georg Brandl2007-03-181-3/+4
| | | | ." for Ellipsis.
* Use better idiom to sort keys.Guido van Rossum2007-02-261-2/+1
|
* Fix token.py main code vs. dict views.Georg Brandl2007-02-261-1/+1
|
* - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;Guido van Rossum2007-02-111-1/+1
| | | | | | | | | | and .keys(), .items(), .values() return dict views. The dict views aren't fully functional yet; in particular, they can't be compared to sets yet. but they are useful as "iterator wells". There are still 27 failing unit tests; I expect that many of these have fairly trivial fixes, but there are so many, I could use help.
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-3/+3
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* PEP 3107 - Function Annotations thanks to Tony LowndsNeal Norwitz2006-12-281-3/+4
|
* Get rid of some more cases of backquotes. parsermodule.c doesn't compileNeal Norwitz2006-08-291-1/+0
| | | | but looks like that was a problem before this change.
* PEP-0318, @decorator-style. In Guido's words:Anthony Baxter2004-08-021-3/+4
| | | | | "@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728.
* Updates to track Grammar changes. The patch to token.py loosens the regexp toMichael W. Hudson2002-10-031-1/+1
| | | | allow "testlist1" to be snagged.
* Remove redundant 'import string' (PyChecker).Guido van Rossum2001-08-131-1/+0
|
* Regenerated token.py to account for new DOUBLESLASH and DOUBLESLASHEQUAL.Tim Peters2001-08-081-3/+5
|
* String method cleanup.Eric S. Raymond2001-02-101-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-3/+3
|
* Update for augmented assignment.Thomas Wouters2000-08-241-3/+14
|
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-3/+3
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-23/+23
|
* Convert all remaining *simple* cases of regex usage to re usage.Guido van Rossum1997-10-221-10/+8
|
* Reduced number of temporary names used at module scope. Use underscores inFred Drake1997-10-061-5/+4
| | | | front of temporary names in the module namespace.
* New batch from FredGuido van Rossum1996-08-211-4/+75
|
* Changes for new parser module (Fred Drake)Guido van Rossum1996-07-211-5/+15
|
* * test_select.py: (some) tests for built-in select moduleGuido van Rossum1993-11-111-0/+50
* test_grammar.py, testall.out: added test for funny things in string literals * token.py, symbol.py: definitions used with built-in parser module. * tokenize.py: added double-quote recognition