summaryrefslogtreecommitdiffstats
path: root/Parser
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-0/+5
| | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* Close #11619: The parser and the import machinery do not encode UnicodeVictor Stinner2013-08-261-14/+65
| | | | filenames anymore on Windows.
* #18803: merge with 3.3.Ezio Melotti2013-08-251-1/+1
|\
| * #18803: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-251-1/+1
| |
* | Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou2013-08-134-27/+27
| |
* | Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails.Christian Heimes2013-08-061-5/+17
|\ \ | |/
| * Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails.Christian Heimes2013-08-061-5/+17
| |
* | Silence warning about set but unused variable inside compile_atom() in ↵Christian Heimes2013-07-311-0/+1
|\ \ | |/ | | | | non-debug builds
| * Silence warning about set but unused variable inside compile_atom() in ↵Christian Heimes2013-07-311-0/+1
| | | | | | | | non-debug builds
* | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().Christian Heimes2013-07-261-3/+7
|\ \ | |/
| * Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().Christian Heimes2013-07-261-3/+7
| |
* | (Merge 3.3) Parser/asdl_c.py: use Py_CLEAR()Victor Stinner2013-07-261-2/+1
|\ \ | |/
| * Parser/asdl_c.py: use Py_CLEAR()Victor Stinner2013-07-261-2/+1
| |
* | (Merge 3.3) According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-261-1/+1
|\ \ | |/ | | | | Replace 8 spaces with 4.
| * According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-261-1/+1
| | | | | | | | Replace 8 spaces with 4.
* | Some compilers complain about 'control reaches end of non-void function'Christian Heimes2013-07-221-0/+1
|\ \ | |/ | | | | because they don't understand that Py_FatalError() terminates the program.
| * Some compilers complain about 'control reaches end of non-void function'Christian Heimes2013-07-221-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 Heimes2013-07-221-1/+4
|\ \ | |/ | | | | | | | | | | when debugging a new grammar. CID 715360
| * Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens ↵Christian Heimes2013-07-221-1/+4
| | | | | | | | | | | | | | when debugging a new grammar. CID 715360
* | Issue #18408: Fix Python-ast.c: handle init_types() failure (ex: MemoryError)Victor Stinner2013-07-161-3/+6
| |
* | merge 3.3Benjamin Peterson2013-07-161-1/+2
|\ \ | |/
| * move declaration to top of blockBenjamin Peterson2013-07-161-1/+2
| |
* | merge 3.3 (closes #18470)Benjamin Peterson2013-07-161-36/+46
|\ \ | |/
| * check the return value of new_string() (closes #18470)Benjamin Peterson2013-07-161-36/+46
| |
* | Issue #18408: parsetok() must not write into stderr on memory allocation errorVictor Stinner2013-07-111-1/+0
| | | | | | | | The caller gets an error code and can raise a classic Python exception.
* | Issue #18408: parsetok() must not write into stderr on memory allocation errorVictor Stinner2013-07-111-1/+0
| | | | | | | | The caller gets an error code and can raise a classic Python exception.
* | Fix resource leak in parser, free node ptrChristian Heimes2013-06-291-0/+1
| | | | | | | | | | CID 1028068 (#1 of 1): Resource leak (RESOURCE_LEAK) leaked_storage: Variable n going out of scope leaks the storage it points to.
* | Issue #18038: SyntaxError raised during compilation sources with illegalSerhiy Storchaka2013-06-091-7/+7
|\ \ | |/ | | | | encoding now always contains an encoding name.
| * Issue #18038: SyntaxError raised during compilation sources with illegalSerhiy Storchaka2013-06-091-7/+7
| | | | | | | | encoding now always contains an encoding name.
* | Issue #9566: Fix compiler warning on Windows 64-bitVictor Stinner2013-06-041-1/+2
| |
* | change AST codegen to use PyModule_AddIntMacroBenjamin Peterson2013-05-201-1/+1
| |
* | placate msvcBenjamin Peterson2013-03-191-1/+2
| |
* | refactor to fix refleaksBenjamin Peterson2013-03-191-5/+15
| |
* | unify some ast.argument's attrs; change Attribute column offset (closes #16795)Benjamin Peterson2013-03-183-8/+49
| | | | | | | | Patch from Sven Brauch.
* | Replace WaitForSingleObject with WaitForSingleObjectEx,Martin v. Löwis2013-01-251-1/+1
| | | | | | | | for better WinRT compatibility.
* | create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-063-3/+15
| |
* | Issue #16546: merge fix from 3.3Mark Dickinson2012-11-251-1/+1
|\ \ | |/
| * Issue #16546: make ast.YieldFrom argument mandatory.Mark Dickinson2012-11-251-1/+1
| |
* | make PyGrammar_LabelRepr return a const char * (closes #16369)Benjamin Peterson2012-10-311-1/+1
| |
* | make _PyParser_TokenNames constBenjamin Peterson2012-10-241-1/+1
|/
* - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.Matthias Klose2012-10-211-1/+0
|\
* \ #15923: merge with 3.2.Ezio Melotti2012-09-301-1/+1
|\ \ | |/
| * #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
| |
* | Issue #15144: Fix possible integer overflow when handling pointers as ↵Antoine Pitrou2012-09-201-1/+1
| | | | | | | | | | | | integer values, by using Py_uintptr_t instead of size_t. Patch by Serhiy Storchaka.
* | MERGE: Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-0/+26
|\ \ | |/
| * Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-0/+26
| |
| * Issue #1677: Unused variable warning in Non-WindowsJesus Cea2012-07-031-1/+4
| |
| * Issue #1677: Handle better a race condition between the interactive ↵Tim Golden2012-06-291-22/+15
| | | | | | | | | | | | interpreter and the Ctrl-C signal handler on Windows
* | construct fields in the right order (closes #15517)Benjamin Peterson2012-08-011-8/+2
| | | | | | | | Patch from Taihyun Hwang.