Tim Gordon <[EMAIL PROTECTED]> added the comment: By prefixing a number with 0, you're actually using octal rather than decimal (i.e., only digits 0 to 7 are valid). For example, try:
>>> print 030 24 >>> print 077 63 patricio wrote: > New submission from patricio <[EMAIL PROTECTED]>: > > a = 08 > print a > File"<stdin>",line 1 > a = 08 > < > syntax error:invalid token > > (if I use 07, the 0 is supressed but it compiles & display the 7) > > ---------- > messages: 74258 > nosy: pgimelli > severity: normal > status: open > title: 08 value popups an stdin error, no date handle allowed > type: compile error > versions: Python 2.5 > > _______________________________________ > Python tracker <[EMAIL PROTECTED]> > <http://bugs.python.org/issue4031> > _______________________________________ > _______________________________________________ > New-bugs-announce mailing list > [EMAIL PROTECTED] > http://mail.python.org/mailman/listinfo/new-bugs-announce > > ---------- nosy: +QuantumTim _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4031> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com