[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-08-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: I have now fixed this with r83721, by excluding the file from compileall. -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-04-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/4/11 Martin v. Löwis : > > Martin v. Löwis added the comment: > > Benjamin, ISTM that the tests in lib2to3/tests/data/py2_test_grammar aren't > run at all, as part of regrtest. If so, the entire file could be removed. True, but then it would become ou

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-04-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: Benjamin, ISTM that the tests in lib2to3/tests/data/py2_test_grammar aren't run at all, as part of regrtest. If so, the entire file could be removed. -- components: +Installation -2to3 (2.x to 3.0 conversion tool)

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-04-10 Thread Gombiuda Jiang
Gombiuda Jiang added the comment: I have upload a patch for this problem by just removing the lines as Gabriel said. Please check it out. Thanks. -- keywords: +patch nosy: +gombiuda Added file: http://bugs.python.org/file16865/py2_test_grammar.patch __

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-03-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: The correct thing to do is actually to ignore py2_test_grammar.py when compiling the pyc files. -- assignee: benjamin.peterson -> loewis nosy: +loewis ___ Python tracker __

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-03-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson priority: -> normal stage: -> needs patch ___ Python tracker ___ __

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-03-26 Thread Gabriel Genellina
New submission from Gabriel Genellina : Lib\lib2to3\tests\data\py2_test_grammar.py, in test_with_statement, requires a variant of the with statement (multiple targets) that is not available in Python 2.6. Compiling py2_test_grammar.py raises a SyntaxError. This makes the 2.6.5 installer exit