summaryrefslogtreecommitdiff
path: root/Parser/tokenizer.c
AgeCommit message (Expand)AuthorLines
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
2007-03-18Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ...Georg Brandl-5/+25
2007-02-23Bytes literal.Thomas Wouters-0/+8
2007-01-15Rip out 'long' and 'L'-suffixed integer literals.Guido van Rossum-5/+1
2006-12-28PEP 3107 - Function Annotations thanks to Tony LowndsNeal Norwitz-0/+2
2006-12-13Four months of trunk changes (including a few releases...)Thomas Wouters-1/+1
2006-08-25Remove support for backticks from the grammar and compiler.Brett Cannon-2/+0
2006-08-24Killed the <> operator. You must now use !=.Guido van Rossum-1/+0
2006-06-08Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svnThomas Wouters-9/+11
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-51/+59
2006-04-14Make 'python -tt' the default, meaning Python won't allow mixing tabs andThomas Wouters-35/+4
2006-03-02Fix crashing bug in tokenizer, when tokenizing files with non-ASCII bytesThomas Wouters-0/+5
2006-03-01Patch #1440601: Add col_offset attribute to AST nodes.Martin v. Löwis-0/+5
2006-02-28Change non-ASCII warning into a SyntaxError.Martin v. Löwis-10/+6
2006-02-16Use Py_ssize_t to count the length.Martin v. Löwis-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-10/+10
2005-12-19Fix SF bug #1072182, problems with signed characters.Neal Norwitz-1/+1
2005-12-18Fix Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.Neal Norwitz-0/+6
2005-11-16Fix some more memory leaks.Neal Norwitz-6/+11
2005-10-21Free coding spec (cs) if there was an error to prevent mem leak. Maybe backp...Neal Norwitz-0/+3
2005-10-02- Fix segfault with invalid coding.Neal Norwitz-1/+4
2005-07-12Apply SF patch #1101726: Fix buffer overrun in tokenizer.c when a source fileWalter Dörwald-27/+45