Re: [Python.NET] Problem debugging to python.runtime.dll

2010-02-18 Thread Dave Hirschfeld
Vishal.Parikh wrote: > > We are actually using Python.Net with python 2.5 and I wanted to learn > the internal architecture of the Python.Runtime.Dll. I have tried > debugging the dll by attaching the process to python.exe but doesn't hit > any break point. I don't know much about the compiler

Re: [Python.NET] how can I build an assembly I can AddReference()?

2010-05-28 Thread Dave Hirschfeld
Brandon Craig Rhodes writes: > I have only gotten as far as trying to AddReference() my new DLL, but > have not been able to get it to succeed. > > >>> import clr > >>> print clr.FindAssembly('Brandon') > C:\Users\brandon\dev\pythonnet\Brandon.dll > >>> clr.AddReference('Brandon'

Re: [Python.NET] getting started - can't import a simple dll

2010-12-15 Thread Dave Hirschfeld
Laszlo Sebo writes: > >   > I believe currently clr 2.x is supported, > which means that up to .net 3.5 it should work fine, as those releases > still use the 2.0 runtime (someone correct me if i'm wrong). LINQ was added > with 3.5, so it should work. >   > cheers, > laszlo >   > I > reco

Re: [Python.NET] Python for .NET with PythonXY ?

2011-05-17 Thread Dave Hirschfeld
Daniel Mader writes: > > Dear list, > > with a couple of colleagues, I am using PythonXY as the main Python > distribution when using Windows. It is based on Python 2.6 (2.7 is now > in the focus so that the next release will be made for this). > > >From what we see it should be possible to ma

Re: [Python.NET] Replaced Python.exe file causes problems for extension modules

2011-07-11 Thread Dave Hirschfeld
Øystein Skotheim writes: > > Hello. I have managed to compile the SVN version of PythonDotNet against > the 4.0 version of the .NET library with Visual Studio 2010 on Windows > 7. I copied over clr.pyd, Python.Runtime.dll as well as new versions of > python.exe and pythonw.exe into my C:\Pyth

Re: [Python.NET] using Python.NET with .NET4/VS2010 in Python 2.7

2012-08-08 Thread Dave Hirschfeld
Griffin, Brittany (AS writes: > > > > Hi, > I’m trying to set up my pythonnet download to work with the .NET 4 > framework.  I’m new to this, so I might just be overlooking something.  > > I’ve found many forums (currently using this one: > http://blog.bidiuk.com/2011/01/python-net-and-vs

[Python.NET] keyword arguments

2015-09-03 Thread Dave Hirschfeld
It doesn't look like it's supported to instantiate a C# class from Python using keyword arguments? Is that the case or am I missing something. If it's not supported would it theoretically be possible and if so how difficult would it be to implement? Thanks, Dave __

Re: [Python.NET] keyword arguments

2015-09-08 Thread Dave Hirschfeld
gt; > On Thu, Sep 3, 2015, 4:10 AM Dave Hirschfeld gmail.com> wrote: > > It doesn't look like it's supported to instantiate a C# class from Python > using keyword arguments? Is that the case or am I missing something. > If it's not supported would it theoreticall

[Python.NET] Infinity Handling

2015-09-08 Thread Dave Hirschfeld
It seems that there's no way to pass an infinity from Python to C#? Is that correct, or am I missing something? In case the former is correct I've filed an enhancement request issue on github: https://github.com/pythonnet/pythonnet/issues/100 Thanks, Dave ___