Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prevent assignment to set literals | Benjamin Peterson | 2010-06-24 | 1 | -0/+6 |
| | |||||
* | #7092 - Silence more py3k deprecation warnings, using ↵ | Florent Xicluna | 2010-03-21 | 1 | -1/+3 |
| | | | | test_support.check_py3k_warnings() helper. | ||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -5/+1 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -1/+5 |
| | | | | Patch by flox | ||||
* | improve several corner cases related with argument names in parenthesis | Benjamin Peterson | 2009-11-19 | 1 | -1/+5 |
| | | | | | | | | | - Fix #7362: give a good error message for parenthesized arguments with defaults. - Add a py3k warning for any parenthesized arguments since those are not allowed in Py3. This warning is not given in tuple unpacking, since that incurs the tuple unpacking warning. | ||||
* | give a better error message when deleting () | Benjamin Peterson | 2009-06-13 | 1 | -0/+6 |
| | |||||
* | remove error checks already done in set_context() | Benjamin Peterson | 2009-06-08 | 1 | -3/+3 |
| | |||||
* | fix syntax tests after formatting change | Benjamin Peterson | 2009-04-07 | 1 | -42/+84 |
| | |||||
* | check for assignment to __debug__ during AST generation | Benjamin Peterson | 2008-11-08 | 1 | -10/+8 |
| | | | | Also, give assignment to None a better error message | ||||
* | include filename and line number in SyntaxError | Benjamin Peterson | 2008-08-16 | 1 | -1/+1 |
| | |||||
* | #3219 repeated keyword arguments aren't allowed in function calls anymore | Benjamin Peterson | 2008-07-01 | 1 | -0/+5 |
| | |||||
* | Whitespace normalization. Ugh, we really need to do this more often. | Neal Norwitz | 2007-04-25 | 1 | -5/+5 |
| | | | | You might want to review this change as it's my first time. Be gentle. :-) | ||||
* | Patch #1642547: Fix an error/crash when encountering syntax errors in ↵ | Collin Winter | 2007-03-16 | 1 | -0/+50 |
| | | | | | | complex if statements. Will backport. | ||||
* | Fix bug #1565514, SystemError not raised on too many nested blocks. | Neal Norwitz | 2006-10-28 | 1 | -0/+31 |
| | | | | | | | It seems like this should be a different error than SystemError, but I don't have any great ideas and SystemError was raised in 2.4 and earlier. Will backport. | ||||
* | Fix for SF bug 1569998: break permitted inside try. | Jeremy Hylton | 2006-10-04 | 1 | -0/+14 |
| | | | | | | | | The compiler was checking that there was something on the fblock stack, but not that there was a loop on the stack. Fixed that and added a test for the specific syntax error. Bug fix candidate. | ||||
* | Patch #1542451: disallow continue anywhere under a finally | Neal Norwitz | 2006-08-21 | 1 | -0/+87 |
| | | | | | | I'm undecided if this should be backported to 2.5 or 2.5.1. Armin suggested to wait (I'm of the same opinion). Thomas W thinks it's fine to go in 2.5. | ||||
* | Fix #1474677, non-keyword argument following keyword. | Neal Norwitz | 2006-05-19 | 1 | -0/+3 |
| | |||||
* | - Bug #1487966: Fix SystemError with conditional expression in assignment | Neal Norwitz | 2006-05-15 | 1 | -16/+19 |
| | | | | Most of the test_syntax changes are just updating the numbers. | ||||
* | Patch #1475845: Raise IndentationError for unexpected indent. | Martin v. Löwis | 2006-05-04 | 1 | -2/+18 |
| | |||||
* | Improved handling of syntax errors. | Jeremy Hylton | 2006-01-27 | 1 | -0/+238 |
| | | | | | | | | | | | | | | | | | Expand set of errors caught in set_context(). Some new errors, some old error messages changed for consistency. Fixed error checking in generator expression code. The first set of tests were impossible condition given the grammar. In general, the ast code uses REQ() for those sanity checks. Fix some error handling for augmented assignments. As comments in the code explain, set_context() ought to work here, but I got unexpected crashes when I tried it. Should come back to this. Add note to Grammar that yield expression is a special case. Add doctest cases for SyntaxErrors raised by ast.c. | ||||
* | Improve test coverage. Hope the test_file changes work the same on windows. | Neal Norwitz | 2005-11-27 | 1 | -0/+12 |
| | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -1/+1 |
| | | | | From SF patch #852334. | ||||
* | SF patch 763201: handling of SyntaxErrors in symbol table build | Jeremy Hylton | 2003-07-15 | 1 | -0/+15 |
| | | | | Bug fix candidate. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | Fix SF bug [ 561825 ] Confusing error for "del f()" | Jeremy Hylton | 2002-05-31 | 1 | -0/+34 |
In the error message, say del for del and assign for everything else. |