6c4fa70da66d7efbf838a93bc69c7bdf2dda65f8 |
|
15-Jul-2016 |
Benjamin Peterson <benjamin@python.org> |
make too many nested blocks be a SyntaxError instead of a SystemError (closes #27514) Patch by Ammar Askar.
/external/python/cpython2/Lib/test/test_syntax.py
|
c2077b0d9b5bf99768c6f396bf7ae6c41b682465 |
|
15-Mar-2011 |
Ezio Melotti <ezio.melotti@gmail.com> |
#11565: Fix several typos. Patch by Piotr Kasprzyk.
/external/python/cpython2/Lib/test/test_syntax.py
|
b1147f5d0a89a24a978d9db93750ad5cc3829542 |
|
19-Aug-2010 |
Amaury Forgeot d'Arc <amauryfa@gmail.com> |
Merged revisions 84209, 84214 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84209 | amaury.forgeotdarc | 2010-08-19 19:43:15 +0200 (jeu., 19 août 2010) | 5 lines Check the return values for all functions returning an ast node. Failure to do it may result in strange error messages or even crashes, in admittedly convoluted cases that are normally syntax errors, like: def f(*xx, __debug__): pass ........ r84214 | amaury.forgeotdarc | 2010-08-19 23:32:38 +0200 (jeu., 19 août 2010) | 3 lines Add tests for r84209 (crashes in the Ast builder) Also remove one tab, and move a check closer to the possible failure. ........
/external/python/cpython2/Lib/test/test_syntax.py
|
947ce58a9018d23cb1e5e8de550f2ba0e542248e |
|
24-Jun-2010 |
Benjamin Peterson <benjamin@python.org> |
prevent assignment to set literals
/external/python/cpython2/Lib/test/test_syntax.py
|
07627880813ffaad8d9b90bfe8791ccf588b031b |
|
21-Mar-2010 |
Florent Xicluna <florent.xicluna@gmail.com> |
#7092 - Silence more py3k deprecation warnings, using test_support.check_py3k_warnings() helper.
/external/python/cpython2/Lib/test/test_syntax.py
|
ce8e33a095030e7af94f58f9da196b240bdf0476 |
|
08-Jan-2010 |
Senthil Kumaran <orsenthil@gmail.com> |
Reverting the Revision: 77368. I committed Flox's big patch for tests by mistake. ( It may come in for sure tough)
/external/python/cpython2/Lib/test/test_syntax.py
|
3ddc435af6873c6304058d7bcbcb19ee4fba7781 |
|
08-Jan-2010 |
Senthil Kumaran <orsenthil@gmail.com> |
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
/external/python/cpython2/Lib/test/test_syntax.py
|
99a5023c80d9a690e4305e2ded1b2a9cf6b30251 |
|
19-Nov-2009 |
Benjamin Peterson <benjamin@python.org> |
improve several corner cases related with argument names in parenthesis - 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.
/external/python/cpython2/Lib/test/test_syntax.py
|
52c4bec76bdcb962e883eac1e55f98df488b558c |
|
13-Jun-2009 |
Benjamin Peterson <benjamin@python.org> |
give a better error message when deleting ()
/external/python/cpython2/Lib/test/test_syntax.py
|
a5a5728cf01446f70c3bd09cc85453fdec71d461 |
|
09-Jun-2009 |
Benjamin Peterson <benjamin@python.org> |
remove error checks already done in set_context()
/external/python/cpython2/Lib/test/test_syntax.py
|
52b9620c1941643dc6f834857bf6d76e8bbfc478 |
|
07-Apr-2009 |
Benjamin Peterson <benjamin@python.org> |
fix syntax tests after formatting change
/external/python/cpython2/Lib/test/test_syntax.py
|
2c98faada6f268d32c4031f7d09d9d5e6a2f46e3 |
|
08-Nov-2008 |
Benjamin Peterson <benjamin@python.org> |
check for assignment to __debug__ during AST generation Also, give assignment to None a better error message
/external/python/cpython2/Lib/test/test_syntax.py
|
0847332716d538cc500f8495ddae81510d05b205 |
|
17-Aug-2008 |
Benjamin Peterson <benjamin@python.org> |
include filename and line number in SyntaxError
/external/python/cpython2/Lib/test/test_syntax.py
|
175e4d96631cad3e3ca230d97d51374b00d9e973 |
|
01-Jul-2008 |
Benjamin Peterson <benjamin@python.org> |
#3219 repeated keyword arguments aren't allowed in function calls anymore
/external/python/cpython2/Lib/test/test_syntax.py
|
0d4c06e06e5ee1f3bb1fa8068114bd700d74864a |
|
25-Apr-2007 |
Neal Norwitz <nnorwitz@gmail.com> |
Whitespace normalization. Ugh, we really need to do this more often. You might want to review this change as it's my first time. Be gentle. :-)
/external/python/cpython2/Lib/test/test_syntax.py
|
77c67bd5858ec0878f3cab93eb4b1ae53186688d |
|
16-Mar-2007 |
Collin Winter <collinw@gmail.com> |
Patch #1642547: Fix an error/crash when encountering syntax errors in complex if statements. Will backport.
/external/python/cpython2/Lib/test/test_syntax.py
|
21997afb0c764d5eb50dbe52249d838a597c0a08 |
|
28-Oct-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix bug #1565514, SystemError not raised on too many nested blocks. 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.
/external/python/cpython2/Lib/test/test_syntax.py
|
82271f13e7eab69b909d538556e4781e971f7584 |
|
04-Oct-2006 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Fix for SF bug 1569998: break permitted inside try. 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.
/external/python/cpython2/Lib/test/test_syntax.py
|
4f096d948797cabbe717197faf4d979d68badd0b |
|
21-Aug-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Patch #1542451: disallow continue anywhere under a finally 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.
/external/python/cpython2/Lib/test/test_syntax.py
|
5ef922447c3dd0f9b306b4fde59481b4d4eaeaa3 |
|
19-May-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix #1474677, non-keyword argument following keyword.
/external/python/cpython2/Lib/test/test_syntax.py
|
373f0a718c359bc9e554ec323a9d71844ee76dfc |
|
15-May-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
- Bug #1487966: Fix SystemError with conditional expression in assignment Most of the test_syntax changes are just updating the numbers.
/external/python/cpython2/Lib/test/test_syntax.py
|
777367103c9ab487fb74ce3f3ac8ea2701de328e |
|
04-May-2006 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #1475845: Raise IndentationError for unexpected indent.
/external/python/cpython2/Lib/test/test_syntax.py
|
c960f26044edaea6669e60859ecf590c63c65e62 |
|
27-Jan-2006 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Improved handling of syntax errors. 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.
/external/python/cpython2/Lib/test/test_syntax.py
|
fcf4435ae02c3962a8ad71a9539877060c694468 |
|
27-Nov-2005 |
Neal Norwitz <nnorwitz@gmail.com> |
Improve test coverage. Hope the test_file changes work the same on windows.
/external/python/cpython2/Lib/test/test_syntax.py
|
70a6b49821a3226f55e9716f32d802d06640cb89 |
|
12-Feb-2004 |
Walter Dörwald <walter@livinglogic.de> |
Replace backticks with repr() or "%r" From SF patch #852334.
/external/python/cpython2/Lib/test/test_syntax.py
|
42d90161e27cf7bf4cfdab44b5b13b6da1ef901c |
|
15-Jul-2003 |
Jeremy Hylton <jeremy@alum.mit.edu> |
SF patch 763201: handling of SyntaxErrors in symbol table build Bug fix candidate.
/external/python/cpython2/Lib/test/test_syntax.py
|
04f357cffef6d764f2f0ff2671dabde75ec250d1 |
|
23-Jul-2002 |
Barry Warsaw <barry@python.org> |
Get rid of relative imports in all unittests. Now anything that 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. :)
/external/python/cpython2/Lib/test/test_syntax.py
|
05ab2e693cf5bed23e14058cf9eb458441769122 |
|
31-May-2002 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Fix SF bug [ 561825 ] Confusing error for "del f()" In the error message, say del for del and assign for everything else.
/external/python/cpython2/Lib/test/test_syntax.py
|