Issue 1490: Bug in eval() function (original) (raw)

PythonWin 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32. Portions Copyright 1994-2006 Mark Hammond - see 'Help/About PythonWin' for further copyright information.

eval("02*2") 4

eval("082") Traceback (most recent call last): File "", line 1, in File "", line 1 082 ^ SyntaxError: invalid token eval("092") Traceback (most recent call last): File "", line 1, in File "", line 1 092 ^ SyntaxError: invalid token

eval("07*2") 14

eval("0102") 16 eval("92") 18