Is Eval *always* Evil?
ldo at geek-central.gen.new_zealand
Thu Nov 11 03:55:51 CET 2010
In message <mailman.847.1289443207.2218.python-list at python.org>, Robert Kern
> 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