Re: [IronPython] Latest IronPython on Mono

2006-08-04 Thread HEMMI, Shigeru
Thanks for the answer. I have asked a question to Mono team: http://lists.ximian.com/pipermail/mono-devel-list/2006-August/019626.html Regards, 2006/8/5, Dino Viehland: > Thanks for the reports on the warnings. I'll open a bug to get those fixed. > The compiler errors are presumably actual

Re: [IronPython] Latest IronPython on Mono

2006-08-04 Thread Dino Viehland
Thanks for the reports on the warnings. I'll open a bug to get those fixed. The compiler errors are presumably actual bugs on Mono so they'll need to fix those. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of HEMMI, Shigeru Sent: Friday, August 04, 200

Re: [IronPython] Latest IronPython on Mono

2006-08-04 Thread HEMMI, Shigeru
Dear IPy Team, Change Set: 2330 is not free from bugs those reported by Sanghyeon Seo. Please apply the patch provided by himself (Thanks Sanghyeon Seo !!). After applying the patch, it still has many compilation warnings. See the attachment. Regards, 2006/7/19, Sanghyeon Seo wrote: The lates

Re: [IronPython] pyexpat and IronPython

2006-08-04 Thread Mark Rees
Hi, Seo has already done a basic pyexpat wrapper. He posted about it in: http://lists.ironpython.com/pipermail/users-ironpython.com/2005-November/001227.html And it can be found at: http://sparcs.kaist.ac.kr/~tinuviel/fepy/old/pyexpat.py I have used this with ElementTree. There are limitations

Re: [IronPython] ElementTree in IronPython

2006-08-04 Thread Monty Taylor
ElementTree is the module containing ElementTree the class. I think what you mean is from elementtree.ElementTree import ElementTree x=ElementTree() x.parse('sample.xml') Good luck, Monty On 8/3/06, Sridevi <[EMAIL PROTECTED]> wrote: > I need to import ElementTree into IronPython > > >>> from e

Re: [IronPython] pyexpat and IronPython

2006-08-04 Thread Monty Taylor
You could write a Python or C# wrapper around System.XML that behaves like pyexpat and contribute it. :) Monty On 8/4/06, Bruce Christensen <[EMAIL PROTECTED]> wrote: > Nope. :) pyexpat relies on Python extension modules written in C, which > don't work with IronPython. However, you can use the c

Re: [IronPython] pyexpat and IronPython

2006-08-04 Thread Bruce Christensen
Nope. :) pyexpat relies on Python extension modules written in C, which don't work with IronPython. However, you can use the classes in the .NET System.Xml namespace for parsing XML documents if you're writing new code. --Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

[IronPython] ElementTree in IronPython

2006-08-04 Thread Sridevi
I need to import ElementTree into IronPython >>> from elementtree import ElementTree >>> tree = ElementTree.parse('sample.xml') Traceback (most recent call last): File , line 0, in ##16 AttributeError: 'module' object has no attribute 'parse' The parse() is a funtion in element a

[IronPython] No automatic conversion anymore from list to array

2006-08-04 Thread Jacques de Hooge
Hi, I've been moving my apps from IP 1 Beta 7 to IP 1 RC1. I have not tested them completely, but I ran into the fact that automatic conversion from list to array was removed. If I remember right, the reason is that a C# function receiving an array param may alter it. If a tuple is passed rather

[IronPython] Auto conversion from list to array removed (sorry, formatting of previous message was faulty)

2006-08-04 Thread Jacques de Hooge
Hi,   I’ve been moving my apps from IP 1 Beta 7 to IP 1 RC1. I have not tested them completely, but I ran into the fact that automatic conversion from list to array was removed.   If I remember right, the reason is that a C#  function receiving an array param may alter it. If a tuple

[IronPython] pyexpat and IronPython

2006-08-04 Thread Sridevi
Iam unable to run pyexpat from IronPython Is there any files i got to add for it ___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

[IronPython] importing C# functions

2006-08-04 Thread Slide
I am currently adding a scripting console to one of the applications I develop. I would like to, at runtime, add functions that can be called by the python code in the console. Something like // c# public int AddIt(int a, int b) { return a + b; } then, I would like to add that function (and p

Re: [IronPython] cast to different interface

2006-08-04 Thread Dino Viehland
You can do: System.ComponentModel.ISupportInitialize.SomeProperty.GetValue(self) Or System.ComponentModel.ISupportInitialize.SomeProperty.SetValue(self, value) We've exposed these 2 helper methods off of the reflected property for this purpose. Even if we hadn't done that you'd still be able

Re: [IronPython] Help with bitmap & text

2006-08-04 Thread Bruce Christensen
You can use the types in the System.Drawing namespace to accomplish what you want. I found a pretty good example of how to overlay text on images at http://www.codeproject.com/dotnet/vbtextoverlay.asp. A search for ".NET image overlay text" should turn up some other good resources. --Bruce -O

[IronPython] cast to different interface

2006-08-04 Thread Christoph
Hello, i'm trying to use serveral interfaces of one object. The solution mentioned here earlier don't work for porperties: Problem: dgv = System.Windows.Forms.DataGridView() dgv.BeginInit() Solution: System.ComponentModel.ISupportInitialize.BeginInit(dgv) How can i use this solution for prope