summaryrefslogtreecommitdiffstats
path: root/Python/ast.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | invert condition (head bang)Benjamin Peterson2012-01-161-1/+1
| |
* | fix possible refleaksBenjamin Peterson2012-01-161-2/+4
| |
* | use helpful PyUnicode_IS_ASCII macroBenjamin Peterson2012-01-161-1/+1
| |
* | PyUnicode_DecodeUTF8 will always return a ready stringBenjamin Peterson2012-01-161-1/+2
| |
* | rewrite such that this actually makes senseBenjamin Peterson2012-01-161-1/+1
| |
* | make YieldFrom its own distinct from Yield (closes #13780)Benjamin Peterson2012-01-141-1/+7
| |
* | Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-131-5/+16
| |
* | Issue #13748: Raw bytes literals can now be written with the `rb` prefix as ↵Antoine Pitrou2012-01-121-7/+12
| | | | | | | | well as `br`.
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-1/+1
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-1/+2
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Implement PEP 393.Martin v. Löwis2011-09-281-37/+24
| |