On Tue, Apr 5, 2016 at 11:48 AM, Chris Angelico <ros...@gmail.com> wrote:
> Your code is a *lot* safer for using 'eval' rather than 'exec'.
> Otherwise, you'd be easily exploited using exceptions, which carry a
> ton of info. But even so, I would not bet money (much less the
> security of my systems) on this being safe.

Not to mention "import". :-P
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to