[issue10928] Strange input processing

2011-01-17 Thread Kirill Bystrov
Kirill Bystrov added the comment: Sorry, i have really forgotten about these octals. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue10928] Strange input processing

2011-01-17 Thread R. David Murray
R. David Murray added the comment: 08 is an invalid octal literal. See http://docs.python.org/reference/lexical_analysis.html#integer-and-long-integer-literals -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status: open -> closed __

[issue10928] Strange input processing

2011-01-17 Thread Kirill Bystrov
New submission from Kirill Bystrov : I have written a simple script which evaluates some numeric expressions and faced a strange problem at some point. Some of these expressions cannot evaluate correctly. Here is an example: Python 2.7.1+ (r271:86832, Dec 24 2010, 10:03:35) [GCC 4.5.2] on linu