Georg Brandl added the comment:
This is not a bug. Integers beginning with "0" are octal literals in Python 2.x,
and "9" is not a valid octal digit.
Closing as Invalid.
--
nosy: +georg.brandl
resolution: -> invalid
status: open -> closed
__
Tracker <[EM
New submission from Ray Ward:
>>> eval("9")
9
Works but.
>>> eval("09")
Traceback (most recent call last):
File "", line 1, in
File "", line 1
09
^
SyntaxError: invalid token
--
messages: 55272
nosy: Rayfward
severity: normal
status: open
title: eval error
type: behavior
ver