Re: [IronPython] Experimental C Extensions from IronPython with Python.NET - code and article

2007-10-23 Thread Sanghyeon Seo
2007/10/24, Michael Foord <[EMAIL PROTECTED]>: > I've just posted the experimental code for accessing CPython extensions > from IronPython. > > Article: http://www.voidspace.org.uk/ironpython/cpython_extensions.shtml > > Comments, bugfixes and improvements welcomed! * Strings from .NET come in as

[IronPython] Experimental C Extensions from IronPython with Python.NET - code and article

2007-10-23 Thread Michael Foord
Hello all, I've just posted the experimental code for accessing CPython extensions from IronPython. Blog entry: http://www.voidspace.org.uk/python/weblog/arch_d7_2007_10_20.shtml#e862 Article: http://www.voidspace.org.uk/ironpython/cpython_extensions.shtml Comments, bugfixes and improvements w

Re: [IronPython] [python] IronPython and C# asynchronous events

2007-10-23 Thread McCalment, Noah
Unless I'm missing something concerning the use of CallTarget0, this doesn't work either. Neither my class code nor my script code is anything terribly complicated, so if you can point out what I'm doing wrong in either case, I'd be more than happy to admit my mistake. Noah -Original Messag

Re: [IronPython] Compilation error

2007-10-23 Thread Dino Viehland
Ok, after a little back and forth, here's what I've founded out: The spec is a little unclear in that it doesn't mention whether private members need to be assigned or not. All the spec says is: * A struct-type variable is considered definitely assigned if each of its instance variables

Re: [IronPython] [python] IronPython and C# asynchronous events

2007-10-23 Thread Michael Foord
Hello Noah, We've had no problems with synchronous and asynchronous events from IronPython (possibly try using the CallTarget0 delegate?), which suggests something wrong with your code. Michael http://www.manning.com/foord McCalment, Noah wrote: > All, > > I've been having some trouble conne

[IronPython] IronPython and C# asynchronous events

2007-10-23 Thread McCalment, Noah
All, I've been having some trouble connecting IronPython to events in C#. The issue is illustrated in the short test class and test script attached to this email. Specifically, the problem is this: When an external event is raised to this C# class, the event handler calls a function which iterat

[IronPython] CPython Extensions from IronPython

2007-10-23 Thread Fuzzyman
Hello all, Yesterday I spent some time looking at hosting the CPython interpreter from IronPython. Thanks to Jonathon Hogg for suggesting we try embedding and Seo for pointing us to Python.NET. Thanks also to Resolver for letting me spend time on this. Basically the Python.NET has already wra