Re: [IronPython] list of lambdas only evaluates first expression

2006-01-09 Thread Brandon Furtwangler
I wonder if this is the same problem I had a couple days ago (a bug with calling multiple python methods).  Turning GenerateDynamicMethods to false in Options.cs and recompiling IronPython fixed my problem.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Beckiu

[IronPython] list of lambdas only evaluates first expression

2006-01-09 Thread Matt Beckius
>>> l = [lambda x : x**2, lambda y : y**3, lambda z : z**4]>>> for x in l :  print x(2)444   Matt B.-- Matt Beckius610.308.8827 ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com