summaryrefslogtreecommitdiffstats
path: root/Parser
Commit message (Collapse)AuthorAgeFilesLines
* #18803: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-251-1/+1
|
* Issue #18038: SyntaxError raised during compilation sources with illegalSerhiy Storchaka2013-06-091-7/+7
| | | | encoding now always contains an encoding name.
* Make PyAST_obj2mod C89 compliant.Trent Nelson2012-12-131-3/+11
|
* #15923: fix a mistake in asdl_c.py that resulted in a TypeError after ↵Ezio Melotti2012-09-301-1/+1
| | | | 2801bf875a24 (see #15801).
* Remove unused variables in parsetok().Georg Brandl2012-08-111-2/+1
|
* Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-0/+26
|
* Issue #1677: Unused variable warning in Non-WindowsJesus Cea2012-07-031-0/+3
|
* Backed out changeset 7ccc2cea6969Jesus Cea2012-07-031-3/+0
|
* Issue #1667: Unused variable warning in Non-WindowsJesus Cea2012-07-031-0/+3
|
* Issue #1677: Handle better a race condition between the interactive ↵Tim Golden2012-06-291-23/+16
| | | | | | interpreter and the Ctrl-C signal handler on Windows
* allow None identifiersBenjamin Peterson2011-07-221-1/+1
|
* verify the types of AST strings and identifiers (closes #12609 and #12610)Benjamin Peterson2011-07-221-2/+19
|
* hardcode the old svn __version__Benjamin Peterson2011-07-221-5/+3
|
* Issue #12016: my_fgets() now always clears errors before calling fgets(). FixVictor Stinner2011-05-301-0/+1
| | | | | the following case: sys.stdin.read() stopped with CTRL+d (end of file), raw_input() interrupted by CTRL+c.
* (Merge 3.1) Issue #1195: Fix input() if it is interrupted by CTRL+d and thenVictor Stinner2011-05-091-0/+1
| | | | CTRL+c, clear the end-of-file indicator after CTRL+d.
* (Merge 3.1) Issue #11650: PyOS_StdioReadline() retries fgets() if it wasVictor Stinner2011-04-091-45/+49
| | | | | interrupted (EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch written by Charles-Francois Natali.
* Issue #9020: The Py_IS* macros from pyctype.h should generally only beStefan Krah2010-06-241-1/+1
| | | | | used with signed/unsigned char arguments. For integer arguments, EOF has to be handled separately.
* spacing nit; this isn't CBenjamin Peterson2010-06-221-1/+1
|
* fix code formattingBenjamin Peterson2010-06-091-2/+3
|
* Doc Fix. Correct link to Zephyr ASDL Abstract page.Senthil Kumaran2010-05-181-1/+1
|
* Use 4-spaces for indentation (instead of tabs) in pgen outputsVictor Stinner2010-05-151-10/+10
| | | | Regenerate (reindent) Python/graminit.c
* Untabify C files. Will watch buildbots.Antoine Pitrou2010-05-0917-3286/+3286
|
* use our own locale independent ctype macrosBenjamin Peterson2010-04-031-19/+3
| | | | requires building pyctype.o into pgen
* ensure that the locale does not affect the tokenization of identifiersBenjamin Peterson2010-04-031-4/+18
|
* Issue #3137: Don't ignore errors at startup, especially a keyboard interruptVictor Stinner2010-03-101-1/+5
| | | | | | (SIGINT). If an error occurs while importing the site module, the error is printed and Python exits. Initialize the GIL before importing the site module.
* Issue #7820: The parser tokenizer restores all bytes in the right if the BOMVictor Stinner2010-03-021-22/+32
| | | | | | check fails. Fix an assertion in pydebug mode.
* #2560: remove an unnecessary 'for' loop from my_fgets() in Parser/myreadline.c.Andrew M. Kuchling2010-02-221-48/+45
| | | | | | | | | | | Noted by Joseph Armbruster; patch by Jessica McKellar. The original code was 'for (;;) {...}', where ... ended with a 'return -2' statement and did not contain a 'break' or 'continue' statement. Therefore, the body of the loop is always executed once. Once upon a time there was a 'continue' in the loop, but it was removed in rev36346, committed by mwh on Wed Jul 7 17:44:12 2004.
* Issue #2333: Backport set and dict comprehensions syntax.Alexandre Vassalotti2010-01-111-0/+2
|
* Issue #2335: Backport set literals syntax from Python 3.x.Alexandre Vassalotti2010-01-091-0/+1
|
* account for PyObject_IsInstance's new ability to failBenjamin Peterson2009-12-131-3/+19
|
* rewrite translate_newlines for clarityBenjamin Peterson2009-12-061-12/+11
|
* fix several compile() issues by translating newlines in the tokenizerBenjamin Peterson2009-11-123-18/+69
|
* spellingBenjamin Peterson2009-11-071-1/+1
|
* fix some coding styleBenjamin Peterson2009-10-091-13/+30
|
* http://bugs.python.org/issue6836Kristján Valur Jónsson2009-09-281-3/+11
| | | | A memory block allocated with one API was being handed over to an object that used another API to release it.
* don't mask encoding errors when decoding a string #6289Benjamin Peterson2009-06-161-4/+1
|
* when no module is given in a 'from' relative import, make ImportFrom.module NULLBenjamin Peterson2009-06-131-1/+1
|
* Delete outdated make file for building the parser with MSVC 6.Alexandre Vassalotti2009-06-121-45/+0
|
* remove has_keyBenjamin Peterson2009-06-071-1/+1
|
* use booleans for flagsBenjamin Peterson2009-06-072-19/+19
|
* always inherit from an appropiate base classBenjamin Peterson2009-06-071-4/+2
|
* inherit from objectBenjamin Peterson2009-06-071-1/+1
|
* Issue #4279: Fix build of parsermodule under Cygwin.Martin v. Löwis2009-01-111-0/+1
|
* Remove useless string literal.Georg Brandl2009-01-031-1/+1
|
* fix __future__ imports when multiple features are givenBenjamin Peterson2008-10-261-3/+0
|
* fix compiler warningBenjamin Peterson2008-10-191-1/+1
|
* Fixed #4067 by implementing _attributes and _fields for the AST root node.Armin Ronacher2008-10-191-0/+18
|
* update asdl_c.py from r66377Benjamin Peterson2008-09-101-1/+1
|
* #3367: revert rev. 65539: this change causes test_parser to failAndrew M. Kuchling2008-08-051-1/+1
|
* #3367 from Kristjan Valur Jonsson:Andrew M. Kuchling2008-08-051-1/+1
| | | | | | | If a PyTokenizer_FromString() is called with an empty string, the tokenizer's line_start member never gets initialized. Later, it is compared with the token pointer 'a' in parsetok.c:193 and that behavior can result in undefined behavior.