[Python-ideas] Any chance on (slowly) deprecating `eval` and `exec` as builtins?

אלעזר elazarg at gmail.com
Tue Nov 7 16:39:41 EST 2017


בתאריך יום ג׳, 7 בנוב׳ 2017, 22:59, מאת Chris Angelico ‏<rosuav at gmail.com>:

>
> -1 on hiding eval/exec; these features exist in many languages, and
> they're identically dangerous everywhere. Basically, use eval only
> with text from the owner of the system, not from anyone untrusted.
>

I am sorry. I don't understand the reasons you are giving here. One
sentence is a fact, and I agree with the other, so I must be missing
something.

Elazar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171107/0382edd5/attachment.html>


More information about the Python-ideas mailing list