On 18 Aug., 10:22, John Machin <[EMAIL PROTECTED]> wrote:
> On Aug 18, 5:46 pm, [EMAIL PROTECTED] wrote:
> > I'm using IronPython to evaluate expressions, so I can't use the
> > return statement but have to say it in an one-liner.
>
> By "evaluate expressions", do you mean using the eval built-in
> function?Ifso, find the recent thread addressing this topic; it was
> asserted that 98% of eval() use-cases were better implemented another
> way. What's _your_ use-case?

User provided python expression of .net's CLR-objects (with
overloaded
operators). The result is processed again in .net.
Reading through the mentioned mail, I think I'm in the 2%. :-)

Thanks,
Christian
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to