This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ggenellina
Recipients ggenellina
Date 2010-03-27.00:48:57
SpamBayes Score 1.3361144e-07
Marked as misclassified No
Message-id <1269650940.6.0.32953947115.issue8241@psf.upfronthosting.co.za>
In-reply-to
Content
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 with an error message when asked to pre-compile all .pyc files, as reported in issue6716.

The fix is simply to remove the last three 'with' statements in function test_with_statement, around line 923 in Lib\lib2to3\tests\data\py2_test_grammar.py, as this is invalid code for this Python version.
History
Date User Action Args
2010-03-27 00:49:00ggenellinasetrecipients: + ggenellina
2010-03-27 00:49:00ggenellinasetmessageid: <1269650940.6.0.32953947115.issue8241@psf.upfronthosting.co.za>
2010-03-27 00:48:58ggenellinalinkissue8241 messages
2010-03-27 00:48:57ggenellinacreate