summaryrefslogtreecommitdiff
path: root/Lib/tokenize.py
AgeCommit message (Expand)AuthorLines
2014-01-09Issue #18960: Fix bugs with Python source code encoding in the second line.Serhiy Storchaka-0/+3
2013-11-25#19620: Fix typo in docstring (noticed by Christopher Welborn).Ezio Melotti-1/+1
2013-09-16Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py scriptSerhiy Storchaka-4/+4
2012-11-03#16152: merge with 3.2.Ezio Melotti-1/+3
2012-11-03#16152: fix tokenize to ignore whitespace at the end of the code when no newl...Ezio Melotti-1/+3
2012-07-07Merge branchFlorent Xicluna-1/+1
2012-07-07Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding d...Florent Xicluna-1/+1
2012-06-20Issue #15096: Drop support for the ur string prefixChristian Heimes-9/+3
2012-06-16Issue #15054: Fix incorrect tokenization of 'b' string literals.Meador Inge-1/+1
2012-04-20Issue #14629: Mention the filename in SyntaxError exceptions fromBrett Cannon-3/+19
2012-04-20merge 3.2: issue 14629Martin v. Löwis-2/+5
2012-04-20Issue #14629: Raise SyntaxError in tokenizer.detect_encodingMartin v. Löwis-2/+5
2012-03-04Updated tokenize to support the inverse byte literals new in 3.3Armin Ronacher-6/+16
2012-03-04Basic support for PEP 414 without docs or tests.Armin Ronacher-8/+22
2012-01-19Issue #2134: Add support for tokenize.TokenInfo.exact_type.Meador Inge-1/+58
2011-10-11Issue #13150: The tokenize module doesn't compile large regular expressions a...Antoine Pitrou-19/+16
2011-10-07Issue #12943: python -m tokenize support has been added to tokenize.Meador Inge-23/+56
2011-02-22Merged revisions 88498 via svnmerge fromBrett Cannon-3/+2
2011-02-22Issue #11074: Make 'tokenize' so it can be reloaded.Brett Cannon-3/+2
2010-11-11Issue #10386: Added __all__ to token module; this simplifies importingAlexander Belopolsky-3/+2
2010-11-09Issue #10335: Add tokenize.open(), detect the file encoding usingVictor Stinner-0/+15
2010-09-09A little bit more readable repr method.Raymond Hettinger-3/+3
2010-09-09Experiment: Let collections.namedtuple() do the work. This should work now t...Raymond Hettinger-39/+3
2010-09-09Improve the repr for the TokenInfo named tuple.Raymond Hettinger-1/+28
2010-09-03Remove unused import, fix typo and rewrap docstrings.Florent Xicluna-17/+18
2010-08-30handle names starting with non-ascii characters correctly #9712Benjamin Peterson-5/+10
2010-03-18fix for files with coding cookies and BOMsBenjamin Peterson-3/+5
2010-03-18in tokenize.detect_encoding(), return utf-8-sig when a BOM is foundBenjamin Peterson-6/+12
2009-11-14use some more itertools magic to make '' be yielded after readline is doneBenjamin Peterson-3/+4
2009-11-14simply by using itertools.chain()Benjamin Peterson-10/+5
2009-11-13Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-...Benjamin Peterson-13/+20
2009-10-09normalize latin-1 and utf-8 variant encodings like the builtin tokenizer doesBenjamin Peterson-1/+12
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