summaryrefslogtreecommitdiff
path: root/Lib/test/test_tokenize.py
AgeCommit message (Expand)AuthorLines
2014-01-09Issue #18960: Fix bugs with Python source code encoding in the second line.Serhiy Storchaka-0/+33
2013-09-16Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py scriptSerhiy Storchaka-0/+7
2012-11-03#16152: merge with 3.2.Ezio Melotti-0/+4
2012-11-03#16152: fix tokenize to ignore whitespace at the end of the code when no newl...Ezio Melotti-0/+5
2012-07-07Merge branchFlorent Xicluna-0/+4
2012-07-07Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding d...Florent Xicluna-0/+4
2012-06-20Issue #15096: Drop support for the ur string prefixChristian Heimes-20/+2
2012-06-16Issue #15054: Fix incorrect tokenization of 'b' string literals.Meador Inge-0/+76
2012-04-20Issue #14629: Mention the filename in SyntaxError exceptions fromBrett Cannon-0/+29
2012-04-20merge 3.2: issue 14629Martin v. Löwis-0/+10
2012-04-20Issue #14629: Raise SyntaxError in tokenizer.detect_encodingMartin v. Löwis-0/+10
2012-03-04Updated tokenize to support the inverse byte literals new in 3.3Armin Ronacher-0/+12
2012-01-19Issue #2134: Add support for tokenize.TokenInfo.exact_type.Meador Inge-1/+74
2011-09-28#13012: use splitlines(keepends=True/False) instead of splitlines(0/1).Ezio Melotti-1/+1
2011-08-13tokenize is just broken on test_pep3131.pyBenjamin Peterson-0/+3
2011-07-19Issue #12587: Correct faulty test file and reference in test_tokenize.Ned Deily-1/+1
2010-11-20#9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti-29/+29
2010-11-09test_tokenize: use self.assertEqual() instead of plain assertVictor Stinner-4/+4
2010-11-09Issue #10335: Add tokenize.open(), detect the file encoding usingVictor Stinner-1/+22
2010-10-30Fix #10258 - clean up resource warningBrian Curtin-2/+4
2010-10-14Replace the "compiler" resource with the more generic "cpu", soAntoine Pitrou-2/+2
2010-08-30handle names starting with non-ascii characters correctly #9712Benjamin Peterson-0/+13
2010-08-30remove pointless coding cookieBenjamin Peterson-2/+0
2010-08-04Issue #9337: Make float.__str__ identical to float.__repr__.Mark Dickinson-2/+2
2010-06-29Merged revisions 82356 via svnmerge fromMark Dickinson-1/+1
2010-03-18in tokenize.detect_encoding(), return utf-8-sig when a BOM is foundBenjamin Peterson-5/+5
2009-11-13Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-...Benjamin Peterson-0/+18
2009-10-09normalize latin-1 and utf-8 variant encodings like the builtin tokenizer doesBenjamin Peterson-1/+29
2009-06-30convert old fail* assertions to assert*Benjamin Peterson-1/+1
2008-12-12raise a SyntaxError in detect_encoding() when a codec lookup fails like the b...Benjamin Peterson-0/+2
2008-05-20#2621 rename test.test_support to test.supportBenjamin Peterson-8/+8
2008-05-13Convert a lot of print statements to print functions in docstrings,Neal Norwitz-1/+1
2008-03-28Merged revisions 61964-61979 via svnmerge fromChristian Heimes-1/+23
2008-03-18- Issue #719888: Updated tokenize to use a bytes API. generate_tokens has beenTrent Nelson-46/+305
2008-03-17Added tests for tokenize, blocked corresponding checkin from trunk.Eric Smith-2/+10
2008-03-16Fix doctests in test_tokenize by converting Python 2.x syntaxMark Dickinson-49/+49
2008-03-16Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,...Christian Heimes-175/+480
2007-11-12Patch 1420 by Ron Adam.Guido van Rossum-2/+11
2007-08-16Remove RISCOS supportSkip Montanaro-2/+2
2007-08-04Make test_tokenize really pass -- don't add extra output.Guido van Rossum-2/+2
2007-08-04Make test_tokenize pass again:Guido van Rossum-3/+14
2007-08-01When testing all stdlib modules, ignore test_pep263.py which is encodedGuido van Rossum-0/+3
2007-06-18Fix a buch of shallow test failures.Guido van Rossum-1/+3
2007-06-06Merged revisions 55631-55794 via svnmerge fromGuido van Rossum-2/+2
2007-04-21PEP 3114: rename .next() to .__next__() and add next() builtin.Georg Brandl-2/+2
2007-02-09Fix the roundtripping function.Guido van Rossum-1/+1
2007-02-09* Remove PRINT_ITEM(_TO), PRINT_NEWLINE(_TO) opcodes.Georg Brandl-10/+10
2007-02-09Fix most trivially-findable print statements.Guido van Rossum-5/+5
2006-12-28PEP 3107 - Function Annotations thanks to Tony LowndsNeal Norwitz-0/+10
2006-12-13Four months of trunk changes (including a few releases...)Thomas Wouters-4/+113