Author terry.reedy
Recipients berker.peksag, terry.reedy, welker
Date 2016-10-07.22:40:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475880060.12.0.767118135503.issue28374@psf.upfronthosting.co.za>
In-reply-to
Content
The absence of a space is intentional. See #21642.  Fix applied 2014-06-07.  Hence Berker's guesses.

    def test_float_exponent_tokenization(self):
        # See issue 21642.
        self.assertEqual(1 if 1else 0, 1)
        self.assertEqual(1 if 0else 0, 0)
        self.assertRaises(SyntaxError, eval, "0 if 1Else 0")

On Windows, test passes for 2.7.12 both installed and locally compiled. 

This said, it is possible that there is a compilation problem on some system, especially one that does not match a buildbot.  We can re-open if this is the case.
History
Date User Action Args
2016-10-07 22:41:00terry.reedysetrecipients: + terry.reedy, berker.peksag, welker
2016-10-07 22:41:00terry.reedysetmessageid: <1475880060.12.0.767118135503.issue28374@psf.upfronthosting.co.za>
2016-10-07 22:41:00terry.reedylinkissue28374 messages
2016-10-07 22:40:59terry.reedycreate