summaryrefslogtreecommitdiff
path: root/Lib/tokenize.py
AgeCommit message (Expand)AuthorLines
2009-04-29Remove dependency on the collections module.Raymond Hettinger-3/+41
2009-04-29Issue #5857: tokenize.tokenize() now returns named tuples.Raymond Hettinger-19/+22
2009-03-24reuse tokenize.detect_encoding in linecache instead of a custom solutionBenjamin Peterson-3/+4
2008-12-12raise a SyntaxError in detect_encoding() when a codec lookup fails like the b...Benjamin Peterson-13/+20
2008-08-19#2834: Change re module semantics, so that str and bytes mixing is forbidden,Antoine Pitrou-6/+8
2008-06-05use the more idomatic (and Py3k faster) while TrueBenjamin Peterson-1/+1
2008-03-28Merged revisions 61964-61979 via svnmerge fromChristian Heimes-0/+9
2008-03-18- Issue #719888: Updated tokenize to use a bytes API. generate_tokens has beenTrent Nelson-57/+130
2008-01-19Merged revisions 60080-60089,60091-60093 via svnmerge fromGeorg Brandl-3/+3
2007-11-12Patch 1420 by Ron Adam.Guido van Rossum-18/+18
2007-08-30Raise statement normalization in Lib/.Collin Winter-2/+2
2007-06-13Merged revisions 55817-55961 via svnmerge fromGuido van Rossum-4/+5
2007-05-15Merged revisions 55328-55341 via svnmerge fromGuido van Rossum-1/+2
2007-04-21PEP 3114: rename .next() to .__next__() and add next() builtin.Georg Brandl-2/+2
2007-04-15Hide list comp variables and support set comprehensionsNick Coghlan-1/+0
2007-03-18Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ...Georg Brandl-3/+3
2007-02-09Fix most trivially-findable print statements.Guido van Rossum-2/+2
2006-12-28PEP 3107 - Function Annotations thanks to Tony LowndsNeal Norwitz-1/+1
2006-12-13Four months of trunk changes (including a few releases...)Thomas Wouters-32/+77
2006-08-25Remove support for backticks from the grammar and compiler.Brett Cannon-1/+1
2006-08-24Killed the <> operator. You must now use !=.Guido van Rossum-1/+1
2006-08-21Merge current trunk into p3yk. This includes the PyNumber_Index API change,Thomas Wouters-1/+2
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-1/+1
2005-06-21SF bug #1224621: tokenize module does not detect inconsistent dedentsRaymond Hettinger-0/+3
2005-06-10Add untokenize() function to allow full round-trip tokenization.Raymond Hettinger-3/+49
2004-08-02PEP-0318, @decorator-style. In Guido's words:Anthony Baxter-1/+1
2003-02-27Get rid of many apply() calls.Guido van Rossum-3/+3
2002-11-05SF 633560: tokenize.__all__ needs "generate_tokens"Raymond Hettinger-1/+2
2002-08-24Speed up the most egregious "if token in (long tuple)" cases by usingGuido van Rossum-10/+19
2002-05-23Whitespace normalization.Tim Peters-5/+5
2002-05-15Added docstrings excerpted from Python Library Reference.Raymond Hettinger-0/+25
2002-04-01Remove some now-obsolete generator future statements.Tim Peters-2/+0
2002-03-26Cleanup x so it is not left in moduleNeal Norwitz-0/+1
2001-08-30SF patch #455966: Allow leading 0 in float/imag literals.Tim Peters-2/+2
2001-08-08Add new tokens // and //=, in support of PEP 238.Guido van Rossum-0/+1
2001-07-20Use string.ascii_letters instead of string.letters (SF bug #226706).Fred Drake-1/+1
2001-07-15Preliminary support for "from __future__ import generators" to enableGuido van Rossum-0/+2
2001-06-29Turns out Neil didn't intend for *all* of his gen-branch work to getTim Peters-8/+21
2001-06-18Merging the gen-branch into the main line, at Guido's direction. Yay!Tim Peters-15/+20
2001-03-23Provide a StopTokenizing exception for conveniently exiting the loop.Ka-Ping Yee-10/+11
2001-03-01Better __credits__.Ka-Ping Yee-1/+2
2001-03-01Add __author__ and __credits__ variables.Ka-Ping Yee-1/+2
2001-03-01final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro-1/+5
2001-02-09String method conversion.Eric S. Raymond-1/+1
2001-01-15Add tokenizer support and tests for u'', U"", uR'', Ur"", etc.Ka-Ping Yee-9/+25
2001-01-15Whitespace normalization.Tim Peters-1/+0
2000-10-07Possible fix for Skip's bug 116136 (sre recursion limit hit in tokenize.py).Tim Peters-12/+20
2000-08-24Update for augmented assignment, tested & approved by Guido.Thomas Wouters-2/+5
2000-08-17Convert some old-style string exceptions to class exceptions.Fred Drake-1/+4
1998-04-03Differentiate between NEWLINE token (an official newline) and NL tokenGuido van Rossum-5/+15