Ezio Melotti added the comment:
Those are invalid octal literals, since the digits 8 and 9 don't exist in octal.
See
http://docs.python.org/2/reference/lexical_analysis.html#grammar-token-octinteger
--
nosy: +ezio.melotti
resolution: -> invalid
stage: -> committed/rejected
status: ope
New submission from jose gregorio fernandez trincado:
In [2]: 09
File "", line 1
09
^
SyntaxError: invalid token
Using str() produce SyntaxError too. The same for 08. Figures like 01 and 02
produce the appropriate output.
Hardware: Lenovo 3000 N200, 80Gb of HD, 4Gb of RAM, Core-Duo