[IronPython] Misleading error messages

2005-09-25 Thread Ray Djajadinata
Hello, I'm playing around with list in IronPython 0.9.2, when I found that error messages regarding the (wrong) number of arguments passed into a function always tells you that the function takes 0 argument: >>> horsemen = ["Pestilence", "War", "Famine", "WebSphere"] >>> horsemen.count() Traceba

[IronPython] Iterating over Dictionary returns the wrong objects?

2005-09-25 Thread Ray Djajadinata
Hello, I'm trying to print the contents of a Dictionary. In C# I can do this: foreach (KeyValuePair pair in myDict) { Console.WriteLine(pair.ToString()); } However, in IP, typing this: >>> myDict = Dictionary[int, str]() >>> # ... do stuff here ... >>> for pair in myDict: ... print str

RE: [IronPython] Iterating over Dictionary returns the wrong objects?

2005-09-25 Thread Ray Djajadinata
Uh, by workaround, I mean the one that gets me KeyValuePair, not the workaround to print the key and value--one can easily do that with the properties of DictionaryEntry :) Thanks, Ray __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam

[IronPython] ASP.NET support

2005-09-25 Thread Giammarco Schisani
Hi there, I was just wondering if it will be possible to write ASP.NET 2.0 applications in IronPython. Thanks! Giammarco ___ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-iron