Re: [IronPython] XmlDocument or XDocument in Python/Silverlight

2008-07-14 Thread Jonathan Slenders
Thank you, Jimmy. At the moment, I'm at a summercamp and stay there until the end of the month. Therefore, I've been inactive at this newsgroup. Jonathan 2008/7/15 Jimmy Schementi <[EMAIL PROTECTED]>: > Jonathan Slenders wrote: > > > > And another question, which is rather Silverlight then Iron

[IronPython] Announcing IronPython 1.1.2 RC1

2008-07-14 Thread Srivatsn Narayanan
Hello IronPython Community, I'm pleased to announce the release of IronPython 1.1.2 RC1. In this release twenty-one CodePlex work Items that were identified as high priority on the IronPython mailing list were fixed. It's worth noting that this included the implementation of the "_winreg" CPy

Re: [IronPython] Embedded IronPython in .NET C# WinForm app error

2008-07-14 Thread mbarnett
Thank you Curt, that was it! Cheers, Mitch Quoting Curt Hagenlocher <[EMAIL PROTECTED]>: > 80004002 is an HRESULT that's E_NOINTERFACE. It's coming from the COM > component itself and not from IronPython. One possible explanation is that > the component isn't compatible with the apartment mod

Re: [IronPython] Windows Service

2008-07-14 Thread Curt Hagenlocher
I looked into this a few months ago, and I seem to remember that -- practically speaking -- you'd need to write a short C# (or VB) stub to host the service. But I can't remember why, and I never actually tried to create an example. On Sun, Jul 13, 2008 at 8:30 PM, Iain Dickason <[EMAIL PROTECTED

Re: [IronPython] XmlDocument or XDocument in Python/Silverlight

2008-07-14 Thread Jimmy Schementi
Jonathan Slenders wrote: > > And another question, which is rather Silverlight then IronPython > related. I hope it's okey to ask it here. > How should I create a TextNode from Silverlight with IronPython code? > In javascript, one would: > > node = document.createTextNode("text"); element.appendCh

Re: [IronPython] Python in the Browser updates

2008-07-14 Thread Jimmy Schementi
Michael Foord wrote: > Jimmy Schementi wrote: > > Michael, question for you: > > > > > >> On every keypress Javascript calls into IronPython (via the C#!). > >> > > > > How come you used C# to handle the onkeypress event? This should do > it in Python: > > > > > > Did you look at the code to see

Re: [IronPython] IronPython Stream

2008-07-14 Thread Curt Hagenlocher
In beta 3, PythonFile and its related classes aren't thread-safe. This will be fixed in beta 4. On Mon, Jul 14, 2008 at 12:09 PM, Michael Stephens <[EMAIL PROTECTED]> wrote: > I think I ran into some threading issues writing from the stream to the > ui. We wrote a callback (delegate) stream ha

Re: [IronPython] IronPython Stream

2008-07-14 Thread Michael Stephens
I wrote one myself. Michael Stephens Electrical Engineering Graduate Student University of Wyoming [EMAIL PROTECTED] or [EMAIL PROTECTED] On Mon, Jul 14, 2008 at 1:11 PM, Michael Foord <[EMAIL PROTECTED]> wrote: > Michael Stephens wrote: > >> I think I ran into some threading issues writing from

Re: [IronPython] IronPython Stream

2008-07-14 Thread Michael Foord
Michael Stephens wrote: I think I ran into some threading issues writing from the stream to the ui. I can always invoke the write. In this case their are no multi-threading concerns. Did you create your own stream or use an existing one? Michael We wrote a callback (delegate) stream handl

Re: [IronPython] IronPython Stream

2008-07-14 Thread Michael Stephens
I think I ran into some threading issues writing from the stream to the ui. We wrote a callback (delegate) stream handler that we use for ironpython and some odd operations in asp.net. I wish .net made event based streams, and event based collections. Michael Stephens Electrical Engineering Gradu

[IronPython] IronPython Stream

2008-07-14 Thread Michael Foord
Hello all, I'm diverting the standard ouput and standard error streams on a Python engine. I would like to provide a Stream that executes a callback on every write (rather than just collecting output as most of the examples show). Inheriting from 'Stream' is easy but requires implementing a

Re: [IronPython] Matplotlib from IronPython 1.1.1

2008-07-14 Thread Michael Foord
Douglas S. Blank wrote: Another approach to dealing with the missing numpy: rewrite it in C#. Has anyone looked to see what that would require? We are moving all of our artificial intelligence, and machine learning code to use the DLR and replacing numpy with a cross-language is on our list. We

Re: [IronPython] Matplotlib from IronPython 1.1.1

2008-07-14 Thread Douglas S. Blank
Another approach to dealing with the missing numpy: rewrite it in C#. Has anyone looked to see what that would require? We are moving all of our artificial intelligence, and machine learning code to use the DLR and replacing numpy with a cross-language is on our list. We only use a small part o

Re: [IronPython] Matplotlib from IronPython 1.1.1

2008-07-14 Thread Michael Foord
Curt Hagenlocher wrote: On Mon, Jul 14, 2008 at 9:29 AM, Michael Foord <[EMAIL PROTECTED] > wrote: Curt Clockwatcher wrote: But I'm not working on perf this week! It was a change suggested by the spellchecker - and I liked it so I left it. :-) Michael --

Re: [IronPython] Matplotlib from IronPython 1.1.1

2008-07-14 Thread Curt Hagenlocher
On Mon, Jul 14, 2008 at 9:29 AM, Michael Foord <[EMAIL PROTECTED]> wrote: > Curt Clockwatcher wrote: > But I'm not working on perf this week! -- Curt Hagenlocher [EMAIL PROTECTED] ___ Users mailing list Users@lists.ironpython.com http://lists.ironpytho

Re: [IronPython] Matplotlib from IronPython 1.1.1

2008-07-14 Thread Michael Foord
Curt Clockwatcher wrote: Ah, I hadn't noticed that. I suspect that it wouldn't be *too* hard to port it to 1.1.1, but I can well imagine that the people working on it won't have prioritized that. Ironclad is making very good progress - but still isn't likely to be able to reliably use matp

Re: [IronPython] Matplotlib from IronPython 1.1.1

2008-07-14 Thread Curt Hagenlocher
Ah, I hadn't noticed that. I suspect that it wouldn't be *too* hard to port it to 1.1.1, but I can well imagine that the people working on it won't have prioritized that. On Mon, Jul 14, 2008 at 6:40 AM, Zsidó Zoltán <[EMAIL PROTECTED]> wrote: > As I read: "Ironclad works with IronPython 2 and

Re: [IronPython] Matplotlib from IronPython 1.1.1

2008-07-14 Thread Zsidó Zoltán
As I read: "Ironclad works with IronPython 2 and targets CPython 2.5. " So it won't be possible to use it with IP 1.1.1. Right? Regards, Zoli - Original Message - From: Curt Hagenlocher To: Discussion of IronPython Sent: Monday, July 14, 2008 3:29 PM Subject: Re: [IronPython]

Re: [IronPython] Matplotlib from IronPython 1.1.1

2008-07-14 Thread Curt Hagenlocher
Matplotlib requires numpy, which is a C extension. IronPython doesn't support C extensions directly, but Resolver Systems is working on an open source compatibility layer with the explicit goal of numpy support. You can find more information at http://www.resolversystems.com/documentation/index.ph

[IronPython] Matplotlib from IronPython 1.1.1

2008-07-14 Thread Zsidó Zoltán
Hello All, Is it possible to use Matplotlib from IronPython 1.1.1? Regards, Zoli ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com