Is Eval *always* Evil?
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Wed Nov 10 21:55:51 EST 2010
In message <mailman.847.1289443207.2218.python-list at python.org>, Robert Kern
wrote:
> Well, the key reason he is using strings is so that he can easily slap on
> a Django admin UI to allow certain users to add new expressions. lambdas
> don't help with that.
Provded you can trust the users who are allowed to add such expressions,
it’s probably all right.
More information about the Python-list
mailing list