Given the following C# code: public class A { public static A operator+(A a1, A a2) { return null; } public static implicit operator A(int n) { return null; } } public class B : A {}
In C#, I can then write: B b = new B(); A c = b + 1; However, in IronPython I get: >>> b = B() >>> c = b + 1 Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unsupported operand type(s) for +: 'B' and 'int' Is there a general policy regarding this kind of .NET interop? Thanks, Jeffrey _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com