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 ezio.melotti
Recipients Jean-Michel.Fauth, benjamin.peterson, ezio.melotti, georg.brandl, gvanrossum, jcea, mark.dickinson, neologix, terry.reedy
Date 2011-12-17.17:21:26
SpamBayes Score 2.8729615e-05
Marked as misclassified No
Message-id <1324142487.52.0.649218135839.issue13610@psf.upfronthosting.co.za>
In-reply-to
Content
>>> 999if 888else 888
  File "<eta last command>", line 1
    999if 888else 888
             ^
SyntaxError: invalid token

This might be because 888e5 is a valid expression, so the 'e' is parsed as part of the number rather than a separate token.

>>> 999 if 888.else 888
  File "<stdin>", line 1
    999 if 888.else 888
               ^
SyntaxError: invalid token
>>> 999 if 888jelse 888
999
History
Date User Action Args
2011-12-17 17:21:27ezio.melottisetrecipients: + ezio.melotti, gvanrossum, georg.brandl, terry.reedy, jcea, mark.dickinson, benjamin.peterson, neologix, Jean-Michel.Fauth
2011-12-17 17:21:27ezio.melottisetmessageid: <1324142487.52.0.649218135839.issue13610@psf.upfronthosting.co.za>
2011-12-17 17:21:26ezio.melottilinkissue13610 messages
2011-12-17 17:21:26ezio.melotticreate