eval('000052') = 42?

Neil Cerutti horpner at yahoo.com
Wed Feb 21 07:59:33 EST 2007


On 2007-02-21, André Malo <auch-ich-m at g-kein-spam.com> wrote:
> Astan Chee 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?
>
> You know, it's just the answer to the ultimate question of
> Life, the universe, and everything.

Yeah, but I was hoping the question would've turned out better.

-- 
Neil Cerutti



More information about the Python-list mailing list