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

2007-10-24 Thread Mathew Yeates
This is too sweet for words. One of the main reasons I haven't moved over to IronPython is that I want to use numpy. Nice Going! Mathew Michael Foord wrote: > Hello all, > > I've just posted the experimental code for accessing CPython extensions > from IronPython. It uses the embedding wrapper fr

[Python.NET] Nevermind: Re: something broke?

2006-06-05 Thread Mathew Yeates
Can't duplicate. Mathew Yeates wrote: > I updated to the latest in svn and now I cant import a delegate defined > in my csharp code. > ? > > C# code > public delegate void MyDelegate(); > > python code > from mydll import MyDelegate > > I get "cann

[Python.NET] something broke?

2006-06-05 Thread Mathew Yeates
I updated to the latest in svn and now I cant import a delegate defined in my csharp code. ? C# code public delegate void MyDelegate(); python code from mydll import MyDelegate I get "cannot import name MyDelegate". This worked fine before I updated from svn. ? Mathew ___

Re: [Python.NET] delegate funkiness

2006-06-05 Thread Mathew Yeates
finished. > > -Brian > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Brian Lloyd >> Sent: Monday, June 05, 2006 9:28 AM >> To: Mathew Yeates; [email protected] >> Subject: Re: [Python.NET] delegate funk

[Python.NET] delegate funkiness

2006-06-02 Thread Mathew Yeates
Hi Brian I have a delegate in python that returns a bool def returnFalse(): return False However, when this function is called from my c# compiled .Net program it always sees a return value of True. Seen this before? (This is with the latest in svn) Mathew __

[Python.NET] Hello??

2006-05-09 Thread Mathew Yeates
Anybody out there? Did this list die? Mathew _ Python.NET mailing list - [email protected] http://mail.python.org/mailman/listinfo/pythondotnet

Re: [Python.NET] calling my assembly from python.net

2006-03-28 Thread Mathew Yeates
oops. It works with VisualStudio 2003 but not 2005!! Mathew Yeates wrote: > Hi > I know I succeeded at this once before. But I just can't get it right. > I have an assembly Test.dll with a namespace Foo. Inside Foo is a method > called RunMe. > > What is the sequence of

[Python.NET] calling my assembly from python.net

2006-03-28 Thread Mathew Yeates
Hi I know I succeeded at this once before. But I just can't get it right. I have an assembly Test.dll with a namespace Foo. Inside Foo is a method called RunMe. What is the sequence of calls I need to do for me to call RunMe??? Mathew _ Python.NET

Re: [Python.NET] problems with mono 1.1.13.4 and PythonNet beta 5

2006-03-22 Thread Mathew Yeates
of the mono world at this point in terms of most > common version? I will try to look at these - can you tell me what > platform you're on when you're seeing this? > > Thanks! > > -Brian > > On 3/22/06, *Mathew Yeates* <[EMAIL PROTECTED] > <mailto:[E

Re: [Python.NET] problems with mono 1.1.13.4 and PythonNet beta 5

2006-03-22 Thread Mathew Yeates
Hi Brian I gave up trying to compile pythonnet with mcs. When I was done, mono segvs all over the place. Also, I couldn't find ildasm in the mono distribution so I used monodis instead. So now I am using the distributed pythonnet -1.0-rc2 I am running the pythonnet tests under mono and I get a

[Python.NET] problems with mono 1.1.13.4 and PythonNet beta 5

2006-03-21 Thread Mathew Yeates
Hi I get an error when trying to create Python.Runtime.dll .\Python.cs(170,3): error CS0245: Destructors and object.Finalize cannot be called directly. Consider calling IDisposable.Dispose if available this error is preceded by a bunch of warnings (see below). Any ideas? Mathew ---

Re: [Python.NET] catching exceptions thrown from .Net

2005-07-05 Thread Mathew Yeates
t;are >running fine for me... > > > >Brian Lloyd[EMAIL PROTECTED] >V.P. Engineering 540.361.1716 >Zope Corporation http://www.zope.com > > > -Original Message- > From: Mathew Yeates [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 05, 2005 9:

Re: [Python.NET] catching exceptions thrown from .Net

2005-07-05 Thread Mathew Yeates
yes, it inherits from System.Exception. In fact, I tried throwing a NullRefernceException from my dll. Still nothing. Mathew Brian Lloyd wrote: Is this supposed to work in RC5 on Win32 using the supplied python binary? I have a .Net dll which throws a user defined exception but its

[Python.NET] catching exceptions thrown from .Net

2005-07-04 Thread Mathew Yeates
Is this supposed to work in RC5 on Win32 using the supplied python binary? I have a .Net dll which throws a user defined exception but its being ignored by my python code. Is this to be expected? Mathew _ Python.NET mailing list - PythonDotNet@py