Steve Lianoglou wrote:
> Delaney, Timothy (Tim) wrote:
>> This is just asking for trouble.
>>
>> my_list = eval('import shutil; shutil.rmtree('/')')
> 
> Hah .. wow.
> 
> And in related news: you still shouldn't be taking candy from
> strangers.
> 
> Point well taken. Thanks for flagging that one.

Heck, whenever *is* it OK to use eval() then?

?-\
wildemar


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to