Re: [IronPython] Saxon8.8N for Mono 1.17.1

2006-09-27 Thread M. David Peterson
Updated build: http://dev.pypod.net/browser/release/Saxon8.8N.tar.gz This was built via the MonoDevelop project I just created and checked into its new and permanent home @ http://dev.extensibleforge.net/browser/trunk/VendorExtensions/Saxonica You can check it out of SVN via svn://src.extensiblef

Re: [IronPython] Creating a Generic Delegate

2006-09-27 Thread Sanghyeon Seo
2006/9/27, James <[EMAIL PROTECTED]>: > So is there any way to make this work? Thanks for any help you can > provide. You can create a typed delegate simply by calling it with a Python function as an argument. delegate = Sink[ChannelMessage](fn) i.Connect(delegate) -- Seo Sanghyeon ___

Re: [IronPython] Creating a Generic Delegate

2006-09-27 Thread Alex James
James, Sink(T args) is very similar to Predicate I had no problems getting that going using IronPython... have a look here: www.base4.net/blog.aspx?ID=118 for an example. Hope that helps Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Sent:

[IronPython] Creating a Generic Delegate

2006-09-27 Thread James
I'm working with Leslie Sanford's excellent C# MIDI library and I'd really like to get things working in IronPython. Here's the incredibly simple code (in C#) required to connect to an input device and call a delegate when a ChannelMessage is received. InputDevice device = new InputDevice(0); dev

[IronPython] Saxon8.8N for Mono 1.17.1

2006-09-27 Thread M. David Peterson
I have been spending as much time as I can building various integration pieces to provide a simple, straight forward Pythonic API into the Saxon.Api library.  I had need to run some tests on Mono, and so quickly built out the updated (read: extension functions work.  They don't in the current 8.8

Re: [IronPython] Infinite recursion and System.StackOverflowException

2006-09-27 Thread Mike McGavin
Hello. On 27/09/06, Sanghyeon Seo <[EMAIL PROTECTED]> wrote: > > What's the expected behaviour with infinite recursion in IronPython, > > and is there some way I can set a maximum recursion depth on a > > PythonEngine object? > It's same as CPython. The difference is that the maximum recursion >

Re: [IronPython] tuple subclass and super()

2006-09-27 Thread Dino Viehland
This is a bug, thanks for the report. I've opened CodePlex bug #3758 to track this (http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=3758). I'm going to push to try and get this fixed in v1.0.1 but it might not quite make it (which means it might need to wait until

Re: [IronPython] IronPython Samples

2006-09-27 Thread Slide
Would be nice if there was a wiki with code samples. Alex On 9/27/06, Tim Riley <[EMAIL PROTECTED]> wrote: > I know you can download some neat samples from IronPython's codeplex page > but I think it would be nice if there were a place where end users could > place snippets of code and example pr

[IronPython] IronPython Samples

2006-09-27 Thread Tim Riley
I know you can download some neat samples from IronPython's codeplex page but I think it would be nice if there were a place where end users could place snippets of code and example programs for others to use. I was thinking of maybe something like http://www.infogami.com where multiple people cou

Re: [IronPython] Direct3D IronPython Sample

2006-09-27 Thread Dave Fugate
Perhaps I'm mistaken but the web installer you reference (also installed on my own PC) does not include the Direct3D 10 pre-release needed by the sample... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leaf Garland Sent: Wednesday, September 27, 2006 3

[IronPython] tuple subclass and super()

2006-09-27 Thread [EMAIL PROTECTED]
Hi, I am evaluating whether it is possible for me to jump into the IronPython bandwagon by running my test units through ipy, but I have a big problem with one of my classes, which is a subclass of tuple. I will not post my whole class here, but a re-creation of the problem: class Foobar(tuple):

Re: [IronPython] Direct3D IronPython Sample

2006-09-27 Thread Leaf Garland
This is often an area of confusion for people. The DirectX core runtime has not been changed in some time but other parts of DirectX have been undergoing a bi-monthly release cycle along side the DirectX SDK; these other parts include the managed DirectX components. To get the latest managed Direct