summaryrefslogtreecommitdiff
path: root/Parser/tokenizer.c
AgeCommit message (Expand)AuthorLines
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
2007-09-08Merged revisions 57778-58052 via svnmerge fromThomas Wouters-0/+62
2007-09-04Convert code from sys.stdin.encoding to UTF-8 inMartin v. Löwis-1/+35
2007-08-30Fix an outdated URL in a SyntaxError message.Guido van Rossum-1/+1
2007-08-29Fix issue # 1037 (sort of).Guido van Rossum-2/+8
2007-08-29Add PyUnicode_AsStringAndSize(), which is like PyUnicode_AsString() butGuido van Rossum-1/+2
2007-08-15Implement PEP 3131. Add isidentifier to str.Martin v. Löwis-3/+26
2007-08-12Fix refleaks from execfile('file that contains a # coding: line')Neal Norwitz-11/+21
2007-08-11Fix problem when exec'ing a string with a codingNeal Norwitz-1/+1
2007-07-29Implement PEP 3120.Martin v. Löwis-5/+34
2007-06-13Merged revisions 55817-55961 via svnmerge fromGuido van Rossum-12/+21
2007-06-12Rip out the file object's implementation.Guido van Rossum-64/+0
2007-06-10Make identifiers str (not str8) objects throughout.Martin v. Löwis-2/+13
2007-06-07tokenizer.c: make coding markup work again.Guido van Rossum-13/+17
2007-05-09Use AsCharBuffer to get a C string out of a Python string.Guido van Rossum-29/+16
2007-05-08Kill u"..." string quotes. Thought I already did that.Guido van Rossum-8/+0
2007-05-04More coding by random modification.Guido van Rossum-3/+3
2007-05-03Get rid of all #ifdef Py_USING_UNICODE (it is always present now).Guido van Rossum-22/+2