Python: make eval safe
are eval’s security issues fixable or
are there just too many tiny details
to get it working right?
are eval’s security issues fixable or
are there just too many tiny details
to get it working right?
There is an eval() function in Python I stumbled upon while playing around. I cannot think of a case when this function is needed, except maybe as syntactic sugar. Can anyone give an example?
I have a series of the form: