[Python.NET] Operator overloading for managed objects

2011-01-21 Thread Oleksii Bidiuk
Hi, did anybody have experience with using overloaded operators for managed objects? I have a class that have e.g. the operator+ overloaded in C#, but that does not seem to be picked up from the Python side. I have tried to add overloading using the setattr(MyType, "name", method_name), but it onl

Re: [Python.NET] Fwd: PythonNET 2.0 Alpha2 and .NET 4.0

2011-01-21 Thread Barton
You have a missing project file setting. I've been reluctant to push my project file because it's apt to break other peoples builds. in Python.Runtime.csproj, add the line between On 1/17/2011 6:15 AM, Oleksii Bidiuk wrote: Hi Barton, thanks for the update! I've got the latest version

Re: [Python.NET] Python.NET and VS2001/.NET 4.0

2011-01-21 Thread Oleksii Bidiuk
Hi All, A small correction to my post. Revision 122 seem to contain all the code, only the reference to the constructorbinding.cs is missing in the Python.Runtime.csproj. Simply adding a reference solves the problem! 2011/1/17 Oleksii Bidiuk > Hi All, > > I hope this will help some people like