[issue20052] input() crashes in 2.7.6

2013-12-22 Thread Christian Heimes
Christian Heimes added the comment: 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 -- nosy

[issue20052] input() crashes in 2.7.6

2013-12-22 Thread VeloxAmbitum
New submission from VeloxAmbitum: Using input(string) to read a number crashes whenever the number is "0*8*" or "0*9*" where * can be any number (i.e., "09", "08", and "0102393" all cause the code to crash). Crash occurs on Windows 7 x64 running 32 bit Python version 2.7.6 as a Syntax Error: