> 
> Any time you find yourself thinking that you want to use eval to solve a 
> problem, take a long, cold shower until the urge goes away.
> 
> If you have to ask why eval is dangerous, then you don't know enough 
> about programming to use it safely. Scrub it out of your life until you 
> have learned about code injection attacks, data sanitation, trusted and 
> untrusted input. Then you can come back to eval and use it safely and 
> appropriately.

I would +1 QOTW - but fear might have to cheat and say +1 to 2 paragraphs of 
the week :)

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

Reply via email to