Newbie question about evaluating raw_input() responses

Terry Jan Reedy tjreedy at udel.edu
Thu May 23 03:11:21 EDT 2013


On 5/23/2013 12:47 AM, Steven D'Aprano wrote:
> On Wed, 22 May 2013 22:31:04 +0000, Alister wrote:
>
>> Please write out 1000 time (without using any form of loop)
>>
>> "NEVER use input in python <3.0 it is EVIL"*

> But all joking aside, eval is dangerous, yes, but it is not "evil".

He put that label on *input*, not eval -- I presume for hiding dangerous 
eval.





More information about the Python-list mailing list