New submission from Jan Welker: I compiled Python 2.7.12 from source and ran the tests unsuccessful.
Compiling /usr/lib/python2.7/test/test_grammar.py ... File "/usr/lib/python2.7/test/test_grammar.py", line 80 self.assertEqual(1 if 1else 0, 1) ^ SyntaxError: invalid token It looks like a space (" ") is missing before the else. The same bug can be found in the next line 81. ---------- components: Tests messages: 278180 nosy: welker priority: normal severity: normal status: open title: SyntaxError: invalid token in python2.7/test/test_grammar.py versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28374> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com