This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients VeloxAmbitum, christian.heimes
Date 2013-12-22.23:35:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387755319.35.0.0285815752011.issue20052@psf.upfronthosting.co.za>
In-reply-to
Content
It's nota bug, it's a feature. Python 2.x interprets numers with a 0 prefix as octal numbers. '8' and '9' are no valid tokens in octal notation.

>>> 010
8
>>> 10
10


http://docs.python.org/2.7/reference/lexical_analysis.html#numeric-literals
History
Date User Action Args
2013-12-22 23:35:19christian.heimessetrecipients: + christian.heimes, VeloxAmbitum
2013-12-22 23:35:19christian.heimessetmessageid: <1387755319.35.0.0285815752011.issue20052@psf.upfronthosting.co.za>
2013-12-22 23:35:19christian.heimeslinkissue20052 messages
2013-12-22 23:35:19christian.heimescreate