summaryrefslogtreecommitdiff
path: root/Parser/tokenizer.c
AgeCommit message (Expand)AuthorLines
2011-04-23Issue #9319: Fix a crash on parsing a Python source code without encodingVictor Stinner-1/+4
2011-01-07Issue #10841: don't translate newlines for pgenVictor Stinner-1/+1
2011-01-07Issue #10841: set binary mode on files; the parser translates newlinesVictor Stinner-0/+7
2011-01-05Remove arbitrary string length limitsVictor Stinner-1/+1
2010-12-27Issue #10778: decoding_fgets() decodes the filename from the filesystemVictor Stinner-6/+11
2010-10-14Issue #10095: fp_setreadl() doesn't reopen the file, reuse instead the fileVictor Stinner-6/+9
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-1352/+1352
2010-04-28Use PyErr_Format() in decoding_fgets()Victor Stinner-3/+1
2010-04-03Merged revisions 79725 via svnmerge fromBenjamin Peterson-11/+1
2010-04-03Merged revisions 79723 via svnmerge fromBenjamin Peterson-1/+11
2010-03-12Merged revisions 78826 via svnmerge fromVictor Stinner-5/+12
2010-03-03Merged revisions 78603 via svnmerge fromVictor Stinner-23/+28
2009-12-13Merged revisions 76052,76522,76591,76689,76697,76733 via svnmerge fromBenjamin Peterson-12/+11
2009-11-13Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-...Benjamin Peterson-11/+23
2009-11-13Merged revisions 76230 via svnmerge fromBenjamin Peterson-18/+74
2009-10-18Issue 7147 - remove ability to attempt to build Python without complex number...Skip Montanaro-6/+0
2009-06-28Merged revisions 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,...Benjamin Peterson-4/+1
2009-04-01The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!Brett Cannon-0/+1
2009-03-02ignore the coding cookie in compile(), exec(), and eval() if the source is a ...Benjamin Peterson-0/+22
2008-12-18Fix an issue in the tokenizer, where a file is opened by fd, but the underlyi...Kristján Valur Jónsson-2/+2
2008-10-17Latin-1 source code was not being properly decoded when passed throughBrett Cannon-2/+2
2008-10-09Issues #2384 and #3975: Tracebacks were not correctly printed when the source...Amaury Forgeot d'Arc-0/+8
2008-09-04Follow-up of #3773: In PyTokenizer_FindEncoding, remove the call to PyErr_NoM...Amaury Forgeot d'Arc-2/+0
2008-09-04#3773: Check for errors around the use of PyTokenizer_FindEncoding().Amaury Forgeot d'Arc-1/+4
2008-09-04PyTokenizer_FindEncoding() always failed because it set the tokenizer stateBrett Cannon-2/+6
2008-08-07Rename PyUnicode_AsString -> _PyUnicode_AsString andMarc-André Lemburg-1/+1
2008-05-26Renamed files bytesobject.[ch] and stringobject.[ch]Christian Heimes-1/+1
2008-05-26Renamed PyString to PyBytesChristian Heimes-4/+4
2008-05-26Renamed PyBytes to PyByteArrayChristian Heimes-4/+4
2008-05-04Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,...Christian Heimes-1/+1
2008-03-28Merged revisions 61981,61984-61987,61992-61993,61997-62000 via svnmerge fromChristian Heimes-8/+0
2008-03-17Bug #2301: Don't try decoding the source code into the originalMartin v. Löwis-64/+0
2008-01-27Merged revisions 60350-60363 via svnmerge fromChristian Heimes-0/+1
2008-01-23Merged revisions 60176-60209 via svnmerge fromChristian Heimes-1/+1
2008-01-21Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge...Georg Brandl-2/+13
2008-01-19Merged revisions 60080-60089,60091-60093 via svnmerge fromGeorg Brandl-0/+19
2008-01-03More PyImport_ImportModule -> PyImport_ImportModuleNoBlockChristian Heimes-1/+1
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes-1/+1
2007-11-22Problem found while converting from PyBytes to PyString:Amaury Forgeot d'Arc-7/+17
2007-11-16Cleanup of tokenizer.c.Guido van Rossum-61/+47
2007-11-15Correction for issue1134: all source files with a coding spec, except latin-1Amaury Forgeot d'Arc-14/+29
2007-11-06Merging the py3k-pep3137 branch back into the py3k branch.Guido van Rossum-12/+11
2007-10-22Issue 1267, continued.Guido van Rossum-16/+20
2007-10-21Make sure the malloc'ed string has space for the null byte.Brett Cannon-1/+1
2007-10-20Fix PyTokenizer_FindEncoding() for OS X 10.4. Turns out that seeking to theBrett Cannon-4/+11
2007-10-20Plug a memory leak where a struct tok_state was not being freed.Brett Cannon-3/+11
2007-10-19Patch 1267 by Christian Heimes.Guido van Rossum-1/+22
2007-10-10Fix another stray PyString reference that should be PyBytes; and its comment.Guido van Rossum-2/+2
2007-10-10Fix an issue in PyTokenizer_RestoreEncoding() which was treating a PyBytesGuido van Rossum-5/+10
2007-09-21Use an enum for decoding_state. It makes the code a little moreNeil Schemenauer-11/+11