On Dec 19, 4:23 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Dec 20, 9:10 am, Larry Bates <[EMAIL PROTECTED]> wrote:
>
> In particular Paul Maguire recently pointed to a safe evaluator that
> was restricted (IIRC) to something like lists/dicts/etc of ints/floats/
> string/etc constants -- looks like just what you need.
>

The pyparsing parser can be viewed at
http://pyparsing.wikispaces.com/space/showimage/parsePythonValue.py.

-- Paul
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to