Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #16136: Remove VMS support and VMS-related code | Christian Heimes | 2013-12-21 | 1 | -8/+0 |
| | |||||
* | upcast int to size_t to silence two ↵ | Christian Heimes | 2013-12-04 | 1 | -1/+1 |
| | | | | autological-constant-out-of-range-compare warnings with clang. | ||||
* | Fix a compiler warning on Windows 64-bit in parsetok.c | Victor Stinner | 2013-11-18 | 1 | -1/+2 |
| | | | | Python parser doesn't support lines longer than INT_MAX bytes yet | ||||
* | Fix compiler warnings on Windows 64-bit in grammar.c | Victor Stinner | 2013-11-18 | 1 | -2/+2 |
| | | | | INT_MAX states and labels should be enough for everyone | ||||
* | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | 2013-10-19 | 7 | -21/+25 |
| | |||||
* | Issue #16742: My fix on PyOS_StdioReadline() was incomplete, PyMem_FREE() was | Victor Stinner | 2013-10-19 | 1 | -3/+3 |
| | | | | not patched | ||||
* | Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py". | Antoine Pitrou | 2013-10-12 | 1 | -2/+2 |
| | | | | ("make smelly" now clean) | ||||
* | Close #16742: Fix misuse of memory allocations in PyOS_Readline() | Victor Stinner | 2013-10-10 | 1 | -6/+20 |
| | | | | | | | | | | | | | | | | The GIL must be held to call PyMem_Malloc(), whereas PyOS_Readline() releases the GIL to read input. The result of the C callback PyOS_ReadlineFunctionPointer must now be a string allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL if an error occurred), instead of a string allocated by PyMem_Malloc() or PyMem_Realloc(). Fixing this issue was required to setup a hook on PyMem_Malloc(), for example using the tracemalloc module. PyOS_Readline() copies the result of PyOS_ReadlineFunctionPointer() into a new buffer allocated by PyMem_Malloc(). So the public API of PyOS_Readline() does not change. | ||||
* | Move open outside try/finally | Eli Bendersky | 2013-09-26 | 1 | -1/+1 |
| | |||||
* | Don't use fancy new Python features like 'with' - some bots don't have them | Eli Bendersky | 2013-09-26 | 1 | -1/+4 |
| | | | | and can't bootstrap the parser. | ||||
* | Normalize whitespace | Eli Bendersky | 2013-09-26 | 1 | -1/+1 |
| | |||||
* | Small fixes in Parser/asdl.py - no change in functionality. | Eli Bendersky | 2013-09-26 | 1 | -4/+6 |
| | | | | | | 1. Make it work when invoked directly from the command-line. It was failing due to a couple of stale function/class usages in the __main__ section. 2. Close the parsed file in the parse() function after opening it. | ||||
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-28 | 1 | -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 Unicode | Victor Stinner | 2013-08-26 | 1 | -14/+65 |
| | | | | filenames anymore on Windows. | ||||
* | #18803: merge with 3.3. | Ezio Melotti | 2013-08-26 | 1 | -1/+1 |
|\ | |||||
| * | #18803: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-26 | 1 | -1/+1 |
| | | |||||
* | | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 4 | -27/+27 |
| | | |||||
* | | Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails. | Christian Heimes | 2013-08-06 | 1 | -5/+17 |
|\ \ | |/ | |||||
| * | 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 | ||||
| * | 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-27 | 1 | -3/+7 |
|\ \ | |/ | |||||
| * | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object(). | Christian Heimes | 2013-07-27 | 1 | -3/+7 |
| | | |||||
* | | (Merge 3.3) Parser/asdl_c.py: use Py_CLEAR() | Victor Stinner | 2013-07-27 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Parser/asdl_c.py: use Py_CLEAR() | Victor Stinner | 2013-07-27 | 1 | -2/+1 |
| | | |||||
* | | (Merge 3.3) According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-27 | 1 | -1/+1 |
|\ \ | |/ | | | | | Replace 8 spaces with 4. | ||||
| * | According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-27 | 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. | ||||
| * | 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 | ||||
| * | 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 | ||||
* | | Issue #18408: Fix Python-ast.c: handle init_types() failure (ex: MemoryError) | Victor Stinner | 2013-07-17 | 1 | -3/+6 |
| | | |||||
* | | merge 3.3 | Benjamin Peterson | 2013-07-15 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | move declaration to top of block | Benjamin Peterson | 2013-07-15 | 1 | -1/+2 |
| | | |||||
* | | merge 3.3 (closes #18470) | Benjamin Peterson | 2013-07-15 | 1 | -36/+46 |
|\ \ | |/ | |||||
| * | check the return value of new_string() (closes #18470) | Benjamin Peterson | 2013-07-15 | 1 | -36/+46 |
| | | |||||
* | | Issue #18408: parsetok() must not write into stderr on memory allocation error | Victor Stinner | 2013-07-11 | 1 | -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 error | Victor Stinner | 2013-07-11 | 1 | -1/+0 |
| | | | | | | | | The caller gets an error code and can raise a classic Python exception. | ||||
* | | Fix resource leak in parser, free node ptr | Christian Heimes | 2013-06-29 | 1 | -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 illegal | Serhiy Storchaka | 2013-06-09 | 1 | -7/+7 |
|\ \ | |/ | | | | | encoding now always contains an encoding name. | ||||
| * | 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 #9566: Fix compiler warning on Windows 64-bit | Victor Stinner | 2013-06-05 | 1 | -1/+2 |
| | | |||||
* | | change AST codegen to use PyModule_AddIntMacro | Benjamin Peterson | 2013-05-20 | 1 | -1/+1 |
| | | |||||
* | | placate msvc | Benjamin Peterson | 2013-03-18 | 1 | -1/+2 |
| | | |||||
* | | refactor to fix refleaks | Benjamin Peterson | 2013-03-18 | 1 | -5/+15 |
| | | |||||
* | | unify some ast.argument's attrs; change Attribute column offset (closes #16795) | Benjamin Peterson | 2013-03-18 | 3 | -8/+49 |
| | | | | | | | | Patch from Sven Brauch. | ||||
* | | Replace WaitForSingleObject with WaitForSingleObjectEx, | Martin v. Löwis | 2013-01-25 | 1 | -1/+1 |
| | | | | | | | | for better WinRT compatibility. | ||||
* | | create NameConstant AST class for None, True, and False literals (closes #16619) | Benjamin Peterson | 2012-12-06 | 3 | -3/+15 |
| | | |||||
* | | Issue #16546: merge fix from 3.3 | Mark Dickinson | 2012-11-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #16546: make ast.YieldFrom argument mandatory. | Mark Dickinson | 2012-11-25 | 1 | -1/+1 |
| | |