Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not reset the line number because we already set file position to correct | Serhiy Storchaka | 2014-01-09 | 1 | -8/+0 |
| | | | | | | value. (fixes error in patch for issue #18960) | ||||
* | Issue #18960: Fix bugs with Python source code encoding in the second line. | Serhiy Storchaka | 2014-01-09 | 1 | -4/+22 |
| | | | | | | | | | | | | | | | | | | | | | | * The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment. | ||||
* | #18803: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-25 | 1 | -1/+1 |
| | |||||
* | Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails. | Christian Heimes | 2013-08-06 | 1 | -5/+17 |
| | |||||
* | Silence warning about set but unused variable inside compile_atom() in ↵ | Christian Heimes | 2013-07-31 | 1 | -0/+1 |
| | | | | non-debug builds | ||||
* | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object(). | Christian Heimes | 2013-07-26 | 1 | -3/+7 |
| | |||||
* | Parser/asdl_c.py: use Py_CLEAR() | Victor Stinner | 2013-07-26 | 1 | -2/+1 |
| | |||||
* | According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-26 | 1 | -1/+1 |
| | | | | Replace 8 spaces with 4. | ||||
* | Some compilers complain about 'control reaches end of non-void function' | Christian Heimes | 2013-07-22 | 1 | -0/+1 |
| | | | | because they don't understand that Py_FatalError() terminates the program. | ||||
* | Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens ↵ | Christian Heimes | 2013-07-22 | 1 | -1/+4 |
| | | | | | | | when debugging a new grammar. CID 715360 | ||||
* | move declaration to top of block | Benjamin Peterson | 2013-07-16 | 1 | -1/+2 |
| | |||||
* | check the return value of new_string() (closes #18470) | Benjamin Peterson | 2013-07-16 | 1 | -36/+46 |
| | |||||
* | Issue #18038: SyntaxError raised during compilation sources with illegal | Serhiy Storchaka | 2013-06-09 | 1 | -7/+7 |
| | | | | encoding now always contains an encoding name. | ||||
* | Issue #16546: make ast.YieldFrom argument mandatory. | Mark Dickinson | 2012-11-25 | 1 | -1/+1 |
| | |||||
* | - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed. | Matthias Klose | 2012-10-21 | 1 | -1/+0 |
|\ | |||||
* \ | #15923: merge with 3.2. | Ezio Melotti | 2012-09-30 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #15923: fix a mistake in asdl_c.py that resulted in a TypeError after ↵ | Ezio Melotti | 2012-09-30 | 1 | -1/+1 |
| | | | | | | | | 2801bf875a24 (see #15801). | ||||
| * | Remove unused variables in parsetok(). | Georg Brandl | 2012-08-11 | 1 | -2/+1 |
| | | |||||
* | | Issue #15144: Fix possible integer overflow when handling pointers as ↵ | Antoine Pitrou | 2012-09-20 | 1 | -1/+1 |
| | | | | | | | | | | | | integer values, by using Py_uintptr_t instead of size_t. Patch by Serhiy Storchaka. | ||||
* | | MERGE: Closes #15512: Correct __sizeof__ support for parser | Jesus Cea | 2012-08-03 | 1 | -0/+26 |
|\ \ | |/ | |||||
| * | Closes #15512: Correct __sizeof__ support for parser | Jesus Cea | 2012-08-03 | 1 | -0/+26 |
| | | |||||
| * | Issue #1677: Unused variable warning in Non-Windows | Jesus Cea | 2012-07-03 | 1 | -1/+4 |
| | | |||||
| * | Issue #1677: Handle better a race condition between the interactive ↵ | Tim Golden | 2012-06-29 | 1 | -22/+15 |
| | | | | | | | | | | | | interpreter and the Ctrl-C signal handler on Windows | ||||
* | | construct fields in the right order (closes #15517) | Benjamin Peterson | 2012-08-01 | 1 | -8/+2 |
| | | | | | | | | Patch from Taihyun Hwang. | ||||
* | | add gc support to the AST base type (closes #15293) | Benjamin Peterson | 2012-07-08 | 1 | -4/+17 |
| | | |||||
* | | Issue #15291: Fix a memory leak where AST nodes where not properly deallocated. | Antoine Pitrou | 2012-07-08 | 1 | -0/+1 |
| | | |||||
* | | Issue #1677: Handle better a race condition between the interactive ↵ | Tim Golden | 2012-06-29 | 1 | -23/+22 |
| | | | | | | | | | | | | interpreter and the Ctrl-C signal handler on Windows | ||||
* | | Issue #15096: Drop support for the ur string prefix | Christian Heimes | 2012-06-20 | 1 | -2/+3 |
| | | |||||
* | | use Py_ssize_t for ast sequence lengths | Benjamin Peterson | 2012-05-15 | 1 | -2/+2 |
| | | |||||
* | | Merge with 3.2: issue #14433 | Martin v. Löwis | 2012-04-30 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Issue #14433: Prevent msvcrt crash in interactive prompt when stdin is closed. | Martin v. Löwis | 2012-04-30 | 1 | -1/+4 |
| | | |||||
* | | free AST's dict | Benjamin Peterson | 2012-03-15 | 1 | -1/+7 |
| | | |||||
* | | Try to fix compilation of Python-ast.c on Visual Studio 2008 | Victor Stinner | 2012-03-13 | 1 | -1/+1 |
| | | |||||
* | | give the AST class a __dict__ | Benjamin Peterson | 2012-03-12 | 1 | -3/+15 |
| | | |||||
* | | Basic support for PEP 414 without docs or tests. | Armin Ronacher | 2012-03-04 | 1 | -3/+7 |
| | | |||||
* | | check after comments, too (#13832) | Benjamin Peterson | 2012-01-19 | 1 | -7/+17 |
| | | |||||
* | | don't leak node | Benjamin Peterson | 2012-01-19 | 1 | -0/+1 |
| | | |||||
* | | only check this when parsing python | Benjamin Peterson | 2012-01-19 | 1 | -0/+2 |
| | | |||||
* | | Issue #12705: Raise SyntaxError when compiling multiple statements as single ↵ | Meador Inge | 2012-01-19 | 1 | -0/+17 |
| | | | | | | | | interactive statement | ||||
* | | murder tabs | Benjamin Peterson | 2012-01-16 | 1 | -98/+98 |
| | | |||||
* | | make YieldFrom its own distinct from Yield (closes #13780) | Benjamin Peterson | 2012-01-14 | 1 | -1/+2 |
| | | |||||
* | | Implement PEP 380 - 'yield from' (closes #11682) | Nick Coghlan | 2012-01-13 | 1 | -1/+1 |
| | | |||||
* | | Issue #13748: Raw bytes literals can now be written with the `rb` prefix as ↵ | Antoine Pitrou | 2012-01-12 | 1 | -7/+9 |
| | | | | | | | | well as `br`. | ||||
* | | evidently some buildbots don't have python 3 installed | Benjamin Peterson | 2011-12-29 | 1 | -1/+1 |
| | | |||||
* | | run AST toolchain on python3 | Benjamin Peterson | 2011-12-29 | 1 | -1/+1 |
| | | |||||
* | | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 1 | -1/+3 |
|\ \ | |/ | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
| * | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 1 | -1/+3 |
| | | | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
* | | Merge branch 3.2 | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
|\ \ | |/ | |||||
| * | Issue #13436: Fix a bogus error message when an AST object was passed | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
| | | | | | | | | an invalid integer value. | ||||
* | | Fix memory leak with FLUFL-related syntax errors (!) | Antoine Pitrou | 2011-11-13 | 1 | -0/+2 |
|\ \ | |/ |