summaryrefslogtreecommitdiffstats
path: root/Python/ast.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node whenVictor Stinner2015-11-061-6/+3
| | | | compiling AST from Python objects.
* make opening brace of container literals and comprehensions correspond to ↵Benjamin Peterson2015-09-261-4/+10
| | | | the line number and col offset of the AST node (closes #25131)
* Issue #24975: Fix AST compilation for PEP 448 syntax.Yury Selivanov2015-09-011-2/+4
|
* Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'.Yury Selivanov2015-08-051-33/+32
|
* PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-21/+153
|
* PEP 448: additional unpacking generalizations (closes #2292)Benjamin Peterson2015-05-061-114/+222
| | | | Patch by Neil Girdhar.
* Initialize variables to prevent GCC warningsVictor Stinner2015-03-181-2/+4
|
* merge 3.4 (#21295)Benjamin Peterson2015-02-021-22/+13
|\
| * revert lineno and col_offset changes from #16795 (closes #21295)Benjamin Peterson2015-02-021-22/+13
| |
| * set line and column numbers for keyword-only arg nodes (closes #20619)Benjamin Peterson2014-02-141-0/+2
| |
* | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-101-2/+6
| |
* | set line and column numbers for keyword-only arg nodes (closes #20619)Benjamin Peterson2014-02-141-0/+2
|/
* Issue #1772673: The type of `char*` arguments now changed to `const char*`.Serhiy Storchaka2013-10-191-8/+6
|
* Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".Antoine Pitrou2013-10-121-32/+32
| | | | ("make smelly" now clean)
* Close #11619: The parser and the import machinery do not encode UnicodeVictor Stinner2013-08-261-16/+21
| | | | filenames anymore on Windows.
* Fix potential NULL pointer dereferencing in ast moduleChristian Heimes2013-07-241-1/+1
|\ | | | | | | CID 719690
| * Fix potential NULL pointer dereferencing in ast moduleChristian Heimes2013-07-241-1/+1
| | | | | | | | CID 719690
* | Issue #18408: Fix ast_for_atom(), PyErr_Fetch(&type, &value, &tback) can set ↵Victor Stinner2013-07-171-1/+1
| | | | | | | | value to NULL
* | Issue #18408: Handle PyArena_AddPyObject() failure in ast.cVictor Stinner2013-07-161-5/+20
| | | | | | | | | | PyList_Append() (called by PyArena_AddPyObject()) can fail because of a MemoryError for example.
* | move declaration to top of blockBenjamin Peterson2013-03-181-1/+2
| |
* | unify some ast.argument's attrs; change Attribute column offset (closes #16795)Benjamin Peterson2013-03-181-44/+28
| | | | | | | | Patch from Sven Brauch.
* | Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxErrorSerhiy Storchaka2013-02-101-7/+11
|\ \ | |/ | | | | and a full traceback including line number.
| * Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxErrorSerhiy Storchaka2013-02-101-7/+11
| |\ | | | | | | | | | and a full traceback including line number.
| | * Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxErrorSerhiy Storchaka2013-02-101-7/+11
| | | | | | | | | | | | and a full traceback including line number.
* | | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-091-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag), mpdecimal (needs to build without Python.h).
| * | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-091-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag), mpdecimal (needs to build without Python.h).
| | * Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵Antoine Pitrou2013-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag).
* | | create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-061-4/+18
|/ /
* | Issue #16546: make ast.YieldFrom argument mandatory.Mark Dickinson2012-11-251-2/+1
| |
* | Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵Christian Heimes2012-09-101-0/+1
|\ \ | |/ | | | | going out of scope leaks the storage it points to.
| * Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵Christian Heimes2012-09-101-0/+1
| | | | | | | | going out of scope leaks the storage it points to.
* | merge 3.2Benjamin Peterson2012-09-021-2/+2
|\ \ | |/
| * put * in the normal placeBenjamin Peterson2012-09-021-2/+2
| |
* | get rid of ast_error_finish by passing the compiling struct to ast_errorBenjamin Peterson2012-09-021-118/+72
| |
* | merge 3.2Benjamin Peterson2012-09-021-2/+2
|\ \ | |/
| * move variable decl to the top of the functionBenjamin Peterson2012-09-021-2/+2
| |
* | merge 3.2 (#15846)Benjamin Peterson2012-09-021-0/+8
|\ \ | |/
| * prevert ast errors from being normalized before ast_error_finish is called ↵Benjamin Peterson2012-09-021-0/+8
| | | | | | | | (closes #15846)
* | Check return value of asdl_seq_new(). Found by Coverity.Stefan Krah2012-08-201-0/+2
| |
* | merge 3.2Benjamin Peterson2012-03-121-6/+0
|\ \ | |/
| * kill this disabled codeBenjamin Peterson2012-03-121-6/+0
| |
* | merge 3.2Benjamin Peterson2012-03-121-2/+2
|\ \ | |/
| * use correct naming conventionBenjamin Peterson2012-03-121-2/+2
| |
* | Basic support for PEP 414 without docs or tests.Armin Ronacher2012-03-041-0/+3
| |
* | fix indentationBenjamin Peterson2012-01-161-5/+5
| |
* | break out switch at correct placeBenjamin Peterson2012-01-161-1/+1
| |
* | only finish error if one occurredBenjamin Peterson2012-01-161-1/+2
| |
* | move LINENO define to where it actually belongsBenjamin Peterson2012-01-161-4/+0
| |
* | streamline normalizer identification a bitBenjamin Peterson2012-01-161-25/+55
| |
* | fix spellingBenjamin Peterson2012-01-161-1/+1
| |