[New-bugs-announce] [issue15254] 08 is invalid token in lists.
Chris Wright
report at bugs.python.org
Thu Jul 5 16:21:54 CEST 2012
New submission from Chris Wright <rikkitikkitavi at gmail.com>:
Python 2.6.6 tk 8.5
Idle 2.6.6
I was trying to generate a multidimensional list, and my test list kept giving errors highlighting 08 as an invalid token.
>>> cube = [[[01,02,03],[04,05,06],[07,08,09]],[[11,12,13],[14,15,16],[17,18,19]],[[21,22,3],[24,25,26],[27,28,29]]]
SyntaxError: invalid token
>>> cube = [[[01,02,03,04,05,06,07,08]]
SyntaxError: invalid token
>>> cube = [08]
SyntaxError: invalid token
----------
components: IDLE
messages: 164681
nosy: Chris.Wright
priority: normal
severity: normal
status: open
title: 08 is invalid token in lists.
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15254>
_______________________________________
More information about the New-bugs-announce
mailing list