[Python.NET] Re: Wrap in interface (#1240)

2021-02-08 Thread Victor “LOST” Milovanov
: [Python.NET] Re: Wrap in interface (#1240) Victor, Our API is C# and some of our users actually directly use C# to access them and don't use python.  We don't intend to change the API.  Of course, users may have to change their scripts to be python3 compatible when they opt into using our API fr

[Python.NET] Re: Wrap in interface (#1240)

2021-02-08 Thread Mohamed Koubaa
hat we had prior to #1240?) Thanks, Mohamed From: Victor “LOST” Milovanov Sent: Monday, February 8, 2021 12:56 PM To: A list for users and developers of Python.NET Subject: [Python.NET] Re: Wrap in interface (#1240) [External Sender] A dump of thoughts on

[Python.NET] Re: Wrap in interface (#1240)

2021-02-08 Thread Victor “LOST” Milovanov
member. It might still affect `hasattr`, but this is somewhat expected. Regards,Victor From: Mohamed KoubaaSent: Monday, February 8, 2021 8:34 AMTo: A list for users and developers of Python.NETSubject: [Python.NET] Re: Wrap in interface (#1240) Victor, Sorry for the late response.  I think what I

[Python.NET] Re: Wrap in interface (#1240)

2021-02-08 Thread Mohamed Koubaa
! Mohamed From: Victor “LOST” Milovanov Sent: Monday, November 2, 2020 8:35 PM To: A list for users and developers of Python.NET Subject: [Python.NET] Re: Wrap in interface (#1240) [External Sender] The original bug report described a similar problem, except the

[Python.NET] Re: Wrap in interface (#1240)

2020-11-02 Thread Victor “LOST” Milovanov
The original bug report described a similar problem, except the behavior without defaulting to stricter interface types is very unintuitive. Imagine you have a well documented library, that exposes property Prop of type IInterface. When specific class implements some Method  in IInterface explicitl