275 Commits (5d39e0429029324cae90bba2f19fb689b007c7d6)

Author SHA1 Message Date
Antoine Pitrou 3a5d4cb940 Issue #13748: Raw bytes literals can now be written with the `rb` prefix as well as `br`. 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Benjamin Peterson 832bfe2ebd add a AST validator (closes #12575) 15 years ago
Benjamin Peterson f63d615f8b fix indentation 15 years ago
Benjamin Peterson 43af12b0b4 unify TryExcept and TryFinally (closes #12199) 15 years ago
Benjamin Peterson bf1bbc1452 reflect with statements with multiple items in the AST (closes #12106) 15 years ago
Benjamin Peterson bd3e362089 make assigning to a bytes literal a syntax error (closes #11506) 15 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 15 years ago
Georg Brandl e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 15 years ago
Victor Stinner 15244f7b12 Recorded merge of revisions 85569-85570 via svnmerge from 15 years ago
Victor Stinner 2f2ed1f36c Fix ast_error_finish() and err_input(): filename can be NULL 15 years ago
Victor Stinner 4c7c8c3023 Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects 15 years ago
Benjamin Peterson d4efd9eb15 add column offset to all syntax errors 16 years ago
Amaury Forgeot d'Arc b1147f5d0a Merged revisions 84209, 84214 via svnmerge from 16 years ago
Amaury Forgeot d'Arc a1e5c69d5b Merged revisions 84214 via svnmerge from 16 years ago
Amaury Forgeot d'Arc 12844e6df6 Add tests for r84209 (crashes in the Ast builder) 16 years ago
Amaury Forgeot d'Arc fc34ac5fdd Merged revisions 84209 via svnmerge from 16 years ago
Amaury Forgeot d'Arc 92dc80a8d8 Check the return values for all functions returning an ast node. 16 years ago
Mark Dickinson ce5b6c43bf Revert r82044, since it changed the semantics of negated imaginary literals. 16 years ago
Benjamin Peterson 947ce58a90 prevent assignment to set literals 16 years ago
Mark Dickinson a58eed9cca Merged revisions 82043 via svnmerge from 16 years ago
Mark Dickinson d35a32e12e Issue #9011: Remove buggy and unnecessary ST->AST compilation code 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Brett Cannon fa84d923ec Remove two unneeded branches to an 'if' statement by applying De Morgan's Law 16 years ago
Brett Cannon 417439e6cd Partially revert the over-reaching r80813. 16 years ago
Brett Cannon 0b03f10afb Remove three unneeded variable assignments. 16 years ago
Alexandre Vassalotti b646547bb4 Issue #2333: Backport set and dict comprehensions syntax. 16 years ago
Alexandre Vassalotti ee936a2130 Issue #2335: Backport set literals syntax from Python 3.x. 16 years ago
Benjamin Peterson 440847cf8e Merged revisions 76416-76417 via svnmerge from 16 years ago
Benjamin Peterson 99a5023c80 improve several corner cases related with argument names in parenthesis 16 years ago
Benjamin Peterson c717aec772 Merged revisions 75931 via svnmerge from 16 years ago
Benjamin Peterson ea0e3b0d60 do a backport of r75928 16 years ago
Benjamin Peterson 7dc5ac5ec6 Merged revisions 75928 via svnmerge from 16 years ago
Benjamin Peterson b2e796aa27 in wide builds, avoid storing high unicode characters from source code with surrogates 16 years ago
Eric Smith abc9f70381 Removed PyOS_ascii_atof from ast.c, as mentioned in issue 7117. 16 years ago
Skip Montanaro ba1e0f46ab Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway) 16 years ago
Benjamin Peterson 4fac706833 Merged revisions 75224 via svnmerge from 17 years ago
Benjamin Peterson bd27aef8a0 Merged revisions 75223 via svnmerge from 17 years ago
Benjamin Peterson 7adbb5a35d #7050 fix a SystemError when using tuple unpacking and augmented assignment 17 years ago
Benjamin Peterson defa04ec8b star_expr now always has two nodes 17 years ago
Benjamin Peterson 4905e80c3d fix an ambiguity in the grammar from the implementation of extended unpacking 17 years ago
Benjamin Peterson 2e4b0e1d8b Merged revisions 74464 via svnmerge from 17 years ago
Benjamin Peterson c0ba828857 better col_offsets for "for" statements with tuple unpacking #6704 17 years ago
Benjamin Peterson 4879c907ce the Slice in x[::] has to have step as None to help the interpreter 17 years ago
Benjamin Peterson 70f52768fd In most cases, the parser will protect True, False, and None from being assign to. 17 years ago
Benjamin Peterson 78565b2216 Merged revisions 73376,73393,73398,73400,73404-73405,73409,73419-73421,73432,73457,73460,73485-73486,73488-73489,73501-73502,73513-73514 via svnmerge from 17 years ago
Benjamin Peterson a72be3b325 when no module is given in a 'from' relative import, make ImportFrom.module NULL 17 years ago