581 Commits (dcd340eeebf0793ea0797ca90d72ac535db4ea78)

Author SHA1 Message Date
Victor Stinner cad876d542 Fix a compiler warning on Windows 64-bit in parsetok.c 12 years ago
Victor Stinner 3a8a333942 Fix compiler warnings on Windows 64-bit in grammar.c 12 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 12 years ago
Victor Stinner c548660af5 Issue #16742: My fix on PyOS_StdioReadline() was incomplete, PyMem_FREE() was 12 years ago
Antoine Pitrou d01d396e7f Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py". 12 years ago
Victor Stinner 2fe9bac4dc Close #16742: Fix misuse of memory allocations in PyOS_Readline() 12 years ago
Eli Bendersky 1891cff587 Move open outside try/finally 12 years ago
Eli Bendersky 99081238e9 Don't use fancy new Python features like 'with' - some bots don't have them 12 years ago
Eli Bendersky 58fe1b1307 Normalize whitespace 12 years ago
Eli Bendersky b788a385cd Small fixes in Parser/asdl.py - no change in functionality. 12 years ago
Victor Stinner daf455554b Issue #18571: Implementation of the PEP 446: file descriptors and file handles 13 years ago
Victor Stinner 14e461d5b9 Close #11619: The parser and the import machinery do not encode Unicode 13 years ago
Ezio Melotti 7c4a7e6f3c #18803: fix more typos. Patch by Févry Thibault. 13 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Christian Heimes 9ae513caa7 Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails. 13 years ago
Christian Heimes 5e4d372524 Silence warning about set but unused variable inside compile_atom() in non-debug builds 13 years ago
Christian Heimes 70c94e7896 Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object(). 13 years ago
Victor Stinner 1acc129d48 Parser/asdl_c.py: use Py_CLEAR() 13 years ago
Victor Stinner ce72e1ce6c According to the PEP 7, C code must "use 4-space indents" 13 years ago
Christian Heimes 1eb0cb12ac Some compilers complain about 'control reaches end of non-void function' 13 years ago
Christian Heimes 53d2dc4045 Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens when debugging 13 years ago
Victor Stinner bdf630c4a7 Issue #18408: Fix Python-ast.c: handle init_types() failure (ex: MemoryError) 13 years ago
Benjamin Peterson 265fba40c8 move declaration to top of block 13 years ago
Benjamin Peterson 2dbfd88245 check the return value of new_string() (closes #18470) 13 years ago
Victor Stinner 526daabf34 Issue #18408: parsetok() must not write into stderr on memory allocation error 13 years ago
Victor Stinner 3bf5f530d9 Issue #18408: parsetok() must not write into stderr on memory allocation error 13 years ago
Christian Heimes 22ed7fe906 Fix resource leak in parser, free node ptr 13 years ago
Serhiy Storchaka 3af14aaba5 Issue #18038: SyntaxError raised during compilation sources with illegal 13 years ago
Victor Stinner 796977360f Issue #9566: Fix compiler warning on Windows 64-bit 13 years ago
Benjamin Peterson 8d89c2aaba change AST codegen to use PyModule_AddIntMacro 13 years ago
Benjamin Peterson 7654ab9ef0 placate msvc 13 years ago
Benjamin Peterson b72406b8fa refactor to fix refleaks 13 years ago
Benjamin Peterson cda75be02a unify some ast.argument's attrs; change Attribute column offset (closes #16795) 13 years ago
Martin v. Löwis b26a9b10ea Replace WaitForSingleObject with WaitForSingleObjectEx, 13 years ago
Trent Nelson 05c197c75e Make PyAST_obj2mod C89 compliant. 13 years ago
Benjamin Peterson 442f20996d create NameConstant AST class for None, True, and False literals (closes #16619) 13 years ago
Mark Dickinson ded35aeb9d Issue #16546: make ast.YieldFrom argument mandatory. 13 years ago
Benjamin Peterson 742b2f8d7a make PyGrammar_LabelRepr return a const char * (closes #16369) 13 years ago
Benjamin Peterson d0845588b8 make _PyParser_TokenNames const 13 years ago
Ezio Melotti c820de5e60 #15923: fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24 (see #15801). 13 years ago
Ezio Melotti cb2916a714 #15923: fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24 (see #15801). 13 years ago
Antoine Pitrou ca8aa4acf6 Issue #15144: Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t. 13 years ago
Georg Brandl 02144cca2f Remove unused variables in parsetok(). 14 years ago
Georg Brandl cc98887e45 Remove unused variables in parsetok(). 14 years ago
Jesus Cea e9c5318967 Closes #15512: Correct __sizeof__ support for parser 14 years ago
Jesus Cea 3e3192d8f7 Closes #15512: Correct __sizeof__ support for parser 14 years ago
Benjamin Peterson 481ae50ccd construct fields in the right order (closes #15517) 14 years ago
Benjamin Peterson 8107176f9b add gc support to the AST base type (closes #15293) 14 years ago
Antoine Pitrou 507507473e Issue #15291: Fix a memory leak where AST nodes where not properly deallocated. 14 years ago
Jesus Cea 035997f1a3 Issue #1677: Unused variable warning in Non-Windows 14 years ago