On Feb 20, 7:37 pm, "John Machin" <[EMAIL PROTECTED]> wrote: > On Feb 21, 3:09 pm, Astan Chee <[EMAIL PROTECTED]> wrote: > > > Hi, > > I just tried to do > > eval('00052') and it returned 42. > > Is this a known bug in the eval function? Or have I missed the way eval > > function works? > > Thanks > > Eight fives are forty. Forty plus two is forty two. I see no bug here, > only a language design strangeness which can be blamed on the then- > pervasive influence of all things from Bell Labs :-)
So is this anachronism slated for removal in Python 3? -- http://mail.python.org/mailman/listinfo/python-list