summaryrefslogtreecommitdiffstats
path: root/Parser
Commit message (Collapse)AuthorAgeFilesLines
* check after comments, too (#13832)Benjamin Peterson2012-01-191-7/+17
|
* don't leak nodeBenjamin Peterson2012-01-191-0/+1
|
* only check this when parsing pythonBenjamin Peterson2012-01-191-0/+2
|
* Issue #12705: Raise SyntaxError when compiling multiple statements as single ↵Meador Inge2012-01-191-0/+17
| | | | interactive statement
* murder tabsBenjamin Peterson2012-01-161-98/+98
|
* make YieldFrom its own distinct from Yield (closes #13780)Benjamin Peterson2012-01-141-1/+2
|
* Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-131-1/+1
|
* Issue #13748: Raw bytes literals can now be written with the `rb` prefix as ↵Antoine Pitrou2012-01-121-7/+9
| | | | well as `br`.
* evidently some buildbots don't have python 3 installedBenjamin Peterson2011-12-291-1/+1
|
* run AST toolchain on python3Benjamin Peterson2011-12-291-1/+1
|
* Issue #10350: Read and save errno before calling a function which might ↵Antoine Pitrou2011-12-161-1/+3
|\ | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth.
| * Issue #10350: Read and save errno before calling a function which might ↵Antoine Pitrou2011-12-161-1/+3
| | | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth.
* | Merge branch 3.2Amaury Forgeot d'Arc2011-11-221-5/+1
|\ \ | |/
| * Issue #13436: Fix a bogus error message when an AST object was passedAmaury Forgeot d'Arc2011-11-221-5/+1
| | | | | | | | an invalid integer value.
* | Fix memory leak with FLUFL-related syntax errors (!)Antoine Pitrou2011-11-131-0/+2
|\ \ | |/
| * Fix memory leak with FLUFL-related syntax errors (!)Antoine Pitrou2011-11-131-0/+2
| |
* | Issue 13243: Rename _Py_identifier to _Py_IDENTIFIER in asdl_c.pyMeador Inge2011-10-221-3/+3
| | | | | | | | | | Parser/asdl_c.py was missed in commit 7109f31300fb when _Py_identifier was replaced with _Py_IDENTIFIER. Thanks to Eric Snow for the patch.
* | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId.Martin v. Löwis2011-10-141-3/+4
| |
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-2/+2
| |
* | Use identifier API for PyObject_GetAttrString.Martin v. Löwis2011-10-102-5/+22
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-1/+2
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Implement PEP 393.Martin v. Löwis2011-09-281-2/+4
| |
* | Merge 3.2Éric Araujo2011-09-021-1/+1
|\ \ | |/
| * accept bytes for the AST 'string' typeBenjamin Peterson2011-09-011-1/+1
| | | | | | | | This is a temporary kludge and all is well in 3.3.
* | revert code which conditionally writes Python-ast.h (closes #12727)Benjamin Peterson2011-08-111-23/+3
| |
* | 2.x syntaxBenjamin Peterson2011-08-091-1/+1
| |
* | make this work on 2.4Benjamin Peterson2011-08-091-5/+17
| |
* | make this work with py2.5Benjamin Peterson2011-08-091-0/+1
| |
* | don't rewrite the header file if it hasn't changed; this reduces development ↵Benjamin Peterson2011-08-091-3/+10
| | | | | | | | build time
* | the bool asdl type died a while agoBenjamin Peterson2011-08-091-1/+1
| |
* | add a asdl bytes type, so Bytes.s be properly typecheckedBenjamin Peterson2011-08-093-3/+13
| |
* | merge 3.2Benjamin Peterson2011-07-221-10/+8
|\ \ | |/
| * None is ok for identifiers but not stringsBenjamin Peterson2011-07-221-10/+8
| |
| * hardcode the old svn __version__Benjamin Peterson2011-07-221-5/+3
| |
* | merge 3.2Benjamin Peterson2011-07-221-2/+19
|\ \ | |/
| * type check AST strings and identifiersBenjamin Peterson2011-07-221-2/+19
| | | | | | | | This is related to a21829180423 as well as #12609 and #12610.
* | remove ast.__version__ (closes #12273)Benjamin Peterson2011-07-161-29/+0
| |
* | comment which is not applicable anymoreBenjamin Peterson2011-07-151-1/+0
| |
* | remove intrcheck.c, which hasn't been used for yearsBenjamin Peterson2011-06-211-174/+0
| |
* | (Merge 3.2) Issue #12016: my_fgets() now always clears errors before callingVictor Stinner2011-05-301-0/+1
|\ \ | |/ | | | | | | fgets(). Fix the following case: sys.stdin.read() stopped with CTRL+d (end of file), raw_input() interrupted by CTRL+c.
| * 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.
* | don't restrict unexpected EOF errors to the first line (closes #12216)Benjamin Peterson2011-05-301-1/+1
| |
* | unify TryExcept and TryFinally (closes #12199)Benjamin Peterson2011-05-291-2/+1
| |
* | reflect with statements with multiple items in the AST (closes #12106)Benjamin Peterson2011-05-271-1/+3
| |
* | (Merge 3.2) 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.
| * Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c, clearVictor Stinner2011-05-091-0/+1
| |\ | | | | | | | | | the end-of-file indicator after CTRL+d.
| | * Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,Victor Stinner2011-05-091-0/+1
| | | | | | | | | | | | clear the end-of-file indicator after CTRL+d.
* | | Revert bb62908896fe, but keep the testJesus Cea2011-04-251-13/+6
| | |
* | | Correctly merging #9319 into 3.3?Jesus Cea2011-04-251-6/+13
|\ \ \ | |/ /
| * | Issue #9319: Fix a crash on parsing a Python source code without encodingVictor Stinner2011-04-221-1/+4
| | | | | | | | | | | | | | | cookie and not valid in UTF-8: use "<file>" as the filename instead of reading from NULL.