summaryrefslogtreecommitdiff
path: root/Parser/tokenizer.c
AgeCommit message (Expand)AuthorLines
2009-12-06rewrite translate_newlines for clarityBenjamin Peterson-12/+11
2009-11-12fix several compile() issues by translating newlines in the tokenizerBenjamin Peterson-16/+66
2009-11-07spellingBenjamin Peterson-1/+1
2009-10-09fix some coding styleBenjamin Peterson-13/+30
2009-06-16don't mask encoding errors when decoding a string #6289Benjamin Peterson-4/+1
2008-08-05#3367: revert rev. 65539: this change causes test_parser to failAndrew M. Kuchling-1/+1
2008-08-05#3367 from Kristjan Valur Jonsson:Andrew M. Kuchling-1/+1
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-16/+16
2008-05-26Renamed PyString to PyBytesChristian Heimes-16/+16
2008-04-24Issue2681: the literal 0o8 was wrongly accepted, and evaluated as float(0.0).Amaury Forgeot d'Arc-1/+1
2008-03-28Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.Neal Norwitz-8/+0
2008-03-25Make Py3k warnings consistent w.r.t. punctuation; also respect theGeorg Brandl-1/+1
2008-03-17Finished backporting PEP 3127, Integer Literal Support and Syntax.Eric Smith-1/+25
2008-01-27Add assertion that we do not blow out newlNeal Norwitz-0/+1
2008-01-23Fixed bug #1915: Python compiles with --enable-unicode=no again. However seve...Christian Heimes-2/+1
2008-01-21Add a "const" to make gcc happy.Georg Brandl-1/+1
2008-01-21Issue #1882: when compiling code from a string, encoding cookies in theGeorg Brandl-2/+13
2008-01-19Fix #1679: "0x" was taken as a valid integer literal.Georg Brandl-0/+7
2008-01-18Added bytes and b'' as aliases for str and ''Christian Heimes-0/+8
2008-01-07Fix #define ordering.Georg Brandl-3/+2
2008-01-07Make Python compile with --disable-unicode.Georg Brandl-0/+2
2007-11-24Warning "<> not supported in 3.x" should be enabled only when the -3 option i...Amaury Forgeot d'Arc-1/+1
2007-11-23Fixed problems in the last commit. Filenames and line numbers weren't reporte...Christian Heimes-9/+11
2007-11-23Applied patch #1754273 and #1754271 from Thomas GleeChristian Heimes-1/+10
2007-10-15Change a PyErr_Print() into a PyErr_Clear(),Guido van Rossum-1/+1
2007-09-04Patch #1031213: Decode source line in SyntaxErrors back to its originalMartin v. Löwis-0/+62
2006-10-06Comment grammarAndrew M. Kuchling-1/+1
2006-06-12Don't truncate if size_t is bigger than uintNeal Norwitz-1/+1
2006-06-02Patch #1357836:Neal Norwitz-9/+11
2006-04-18C++ compiler cleanup: cast signed to unsignedSkip Montanaro-1/+1
2006-04-11As discussed on python-dev, really fix the PyMem_*/PyObject_* memory APINeal Norwitz-22/+22
2006-04-11Fix the code in Parser/ to also compile with C++. This was mostly casts forAnthony Baxter-12/+13
2006-04-10SF patch #1467512, fix double free with triple quoted string in standard build.Neal Norwitz-6/+6
2006-03-26Years in the making.Tim Peters-39/+44
2006-03-20Use macro versions instead of function versions when we already know the type.Neal Norwitz-1/+3
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
2005-03-03Patch #802188: better parser error message for non-EOL following line cont.Martin v. Löwis-1/+1
2004-08-04SF #941229: Decode source code with sys.stdin.encoding in interactiveHye-Shik Chang-0/+61
2004-08-02PEP-0318, @decorator-style. In Guido's words:Anthony Baxter-0/+2
2003-11-20Getting rid of all the code inside #ifdef macintosh too.Jack Jansen-11/+0