Bug?
Joe Wong
joewong at mango.cc
Sun Mar 13 21:54:02 EST 2005
I think python is expecting a octet number from the input?
- Joe
----- Original Message -----
From: peter at clgus
To: python-list at python.org
Sent: Monday, March 14, 2005 10:51 AM
Subject: Bug?
Hello
Ive recently found that you cannot type anything over 7 into a number that is preceded with a 0.
ex:
>>> 01
1
>>> 07
7
>>> 08
SyntaxError: invalid token
>>> 011
9
>>> 017
15
>>> 077
63
>>> 078
SyntaxError: invalid token
I know this isnt that big of a problem,
but i cannot think of one reason why they would not allow numbers preceded with a 0 to have a number
higher then a 7 in them...
And it seems very inconsistant to me...
Is there a reason for this?
Thanks
Peter
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.2 - Release Date: 3/11/2005
--
http://mail.python.org/mailman/listinfo/python-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050314/4a6ef5c3/attachment.html>
-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.2 - Release Date: 2005/3/11
More information about the Python-list
mailing list