summaryrefslogtreecommitdiff
path: root/Lib/tokenize.py
AgeCommit message (Expand)AuthorLines
2009-10-15some cleanupsBenjamin Peterson-10/+10
2009-10-15use floor division and add a test that exercises the tabsize codepathBenjamin Peterson-1/+1
2009-10-15pep8ify if blocksBenjamin Peterson-9/+18
2008-08-02Remove a tuple unpacking in a parameter list to remove a SyntaxWarning raisedBrett Cannon-1/+3
2008-06-05revert 63965 for preformance reasonsBenjamin Peterson-1/+1
2008-06-05use the more idomatic while TrueBenjamin Peterson-1/+1
2008-03-27Issue2495: tokenize.untokenize did not insert space between two consecutive s...Amaury Forgeot d'Arc-1/+10
2008-03-17Added PEP 3127 support to tokenize (with tests); added PEP 3127 to NEWS.Eric Smith-2/+3
2008-01-19Fix #1679: "0x" was taken as a valid integer literal.Georg Brandl-1/+1
2008-01-18Added bytes and b'' as aliases for str and ''Christian Heimes-3/+16
2006-12-02Add name to credits (for untokenize).Raymond Hettinger-1/+1
2006-08-23Replace dead code with an assert.Jeremy Hylton-4/+1
2006-08-23Bug fixes large and small for tokenize.Jeremy Hylton-31/+79
2006-08-14Make tabnanny recognize IndentationErrors raised by tokenize.Georg Brandl-1/+2
2006-03-30Insert a safety space after numbers as well as names in untokenize().Guido van Rossum-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
1997-10-27New, fixed version with proper r"..." and R"..." support from Ka-Ping.Guido van Rossum-7/+10
1997-10-27Redone (by Ka-Ping) using the new re module, and adding recognitionGuido van Rossum-57/+55
1997-06-03Correct typo in last line (test program invocation).Guido van Rossum-1/+1
1997-04-09Ping's latest. Fixes triple quoted strings ending in oddGuido van Rossum-20/+31
1997-04-08Ka-Ping's muich improved version of March 26, 1997:Guido van Rossum-72/+96
1997-03-10Added support for imaginary constants (e.g. 0j, 1j, 1.0j).Guido van Rossum-4/+5
1997-03-07Fixed doc string, added __version__, fixed 1 bug.Guido van Rossum-10/+17
1997-03-07Ka-Ping's version.Guido van Rossum-43/+130