pythonnet icon indicating copy to clipboard operation
pythonnet copied to clipboard

MethodBinder PyObject + CLRObject resolution

Open Martin-Molinero opened this issue 4 years ago • 0 comments
trafficstars

Ideally pythonNet method binder could detect if a PyObject is actually just a CLRObject (wrapped C# instance), get it's type and try to find the best method match for it, if none, fall back to any method taking a PyObject instead. Similar to the implicit conversion matching system. Else it requires C# side to determine the PyObject type instead to handle it correctly

Martin-Molinero avatar Oct 27 '21 17:10 Martin-Molinero