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?
> ThanksEight 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 :-) BTW, hasn't anyone told you not to play with the eval function? Put it down. You could catch something nasty. -- http://mail.python.org/mailman/listinfo/python-list
