156 Commits (fd9262cf2a044f6909530cdb565f38e13ff98263)

Author SHA1 Message Date
Serhiy Storchaka 5e61f14c6d Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError 13 years ago
Antoine Pitrou 4de7457009 Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter. 13 years ago
Mark Dickinson b1cc6aa2df Issue #9011: AST creation no longer modifies CST for negated numeric literals. 13 years ago
Christian Heimes 3d463393bb Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out of scope leaks the storage it points to. 14 years ago
Benjamin Peterson c7dedb0945 put * in the normal place 14 years ago
Benjamin Peterson c5d7518a2e move variable decl to the top of the function 14 years ago
Benjamin Peterson 2e2c903700 prevert ast errors from being normalized before ast_error_finish is called (closes #15846) 14 years ago
Benjamin Peterson 3f3584695e kill this disabled code 14 years ago
Benjamin Peterson bc4665ebcb use correct naming convention 14 years ago
Benjamin Peterson f63d615f8b fix indentation 15 years ago
Benjamin Peterson bd3e362089 make assigning to a bytes literal a syntax error (closes #11506) 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