<p dir="ltr"><br>
On 20 May 2013 09:19, "Frank Millman" <<a href="mailto:frank@chagford.com">frank@chagford.com</a>> wrote:<br>
> Quoting from the manual -<br>
><br>
> "Safely evaluate an expression node or a string containing a Python expression. The string or node provided may only consist of the following Python literal structures: strings, bytes, numbers, tuples, lists, dicts, sets, booleans, and None."<br>

><br>
> The operative word is 'safely'. I don't know the details, but it prevents the kinds of exploits that can be carried out by malicious code using eval().</p>
<p dir="ltr">Literals are only a subset of expressions. The documentation is a bit misleading, by stating it accepts a "python expression".</p>
<p dir="ltr">This individual is rightfully confused.</p>