In article <[EMAIL PROTECTED]>, Simon Forman <[EMAIL PROTECTED]> wrote: > >FWIW, I got around to implementing a function that checks if a string >is safe to evaluate (that it consists only of numbers, operators, and >"(" and ")"). Here it is. :)
What's safe about "10000000 ** 10000000"? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "as long as we like the same operating system, things are cool." --piranha -- http://mail.python.org/mailman/listinfo/python-list