From denis.akhiyarov at gmail.com Tue Aug 2 01:38:41 2016 From: denis.akhiyarov at gmail.com (Denis Akhiyarov) Date: Tue, 2 Aug 2016 00:38:41 -0500 Subject: [Python.NET] Update License - MIT Message-ID: We are in the process of updating pythonnet library to MIT license and asking for permission from all past contributors to change the license from legacy Zope Public License Version 2.0 to MIT license. Please see discussion here: https://github.com/pythonnet/pythonnet/issues/234 If you think that you are past contributor and not listed there, then please reply in this github issue. I identified two people from sourceforge history who are not listed in github history: @hardcoded and @jfrayne (Joe Frayne) Not sure who @hardcoded is? Brian, do you have the history before 2006? If not, then we have to assume that you are the only contributor before migration to sourceforge in 2006. Thank you, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jfrayne at blizzard.com Tue Aug 2 15:18:25 2016 From: Jfrayne at blizzard.com (Joe Frayne) Date: Tue, 2 Aug 2016 19:18:25 +0000 Subject: [Python.NET] Update License - MIT In-Reply-To: References: Message-ID: <3s3mH04S29zFrKx@mail.python.org> I responded to the thread with my approval of the proposed change. Thanks, Joe From: Denis Akhiyarov [mailto:denis.akhiyarov at gmail.com] Sent: Monday, August 01, 2016 10:39 PM To: A list for users and developers of Python for .NET Cc: Joe Frayne ; brian.d.lloyd at gmail.com Subject: Update License - MIT We are in the process of updating pythonnet library to MIT license and asking for permission from all past contributors to change the license from legacy Zope Public License Version 2.0 to MIT license. Please see discussion here: https://github.com/pythonnet/pythonnet/issues/234 If you think that you are past contributor and not listed there, then please reply in this github issue. I identified two people from sourceforge history who are not listed in github history: @hardcoded and @jfrayne (Joe Frayne) Not sure who @hardcoded is? Brian, do you have the history before 2006? If not, then we have to assume that you are the only contributor before migration to sourceforge in 2006. Thank you, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.akhiyarov at gmail.com Wed Aug 10 00:31:41 2016 From: denis.akhiyarov at gmail.com (Denis Akhiyarov) Date: Tue, 9 Aug 2016 23:31:41 -0500 Subject: [Python.NET] Update License - MIT In-Reply-To: <57a0f205.533c620a.c56b2.7648SMTPIN_ADDED_MISSING@mx.google.com> References: <57a0f205.533c620a.c56b2.7648SMTPIN_ADDED_MISSING@mx.google.com> Message-ID: These 5 people out of 28 still have not responded. If anyone can contact them directly, please do this. @BartonCline @hardcoded (sourceforge) @sweinst @swinstanley @tiran On Tue, Aug 2, 2016 at 2:18 PM, Joe Frayne wrote: > I responded to the thread with my approval of the proposed change. > > > > Thanks, > > > > Joe > > > > *From:* Denis Akhiyarov [mailto:denis.akhiyarov at gmail.com] > *Sent:* Monday, August 01, 2016 10:39 PM > *To:* A list for users and developers of Python for .NET < > pythondotnet at python.org> > *Cc:* Joe Frayne ; brian.d.lloyd at gmail.com > *Subject:* Update License - MIT > > > > We are in the process of updating pythonnet library to MIT license and > asking for permission from all past contributors to change the license from > legacy Zope Public License Version 2.0 to MIT license. > > > > Please see discussion here: > > > > https://github.com/pythonnet/pythonnet/issues/234 > > > > If you think that you are past contributor and not listed there, then > please reply in this github issue. > > > > I identified two people from sourceforge history who are not listed in > github history: > > > > @hardcoded and @jfrayne (Joe Frayne) > > > > Not sure who @hardcoded is? > > > > Brian, do you have the history before 2006? > > > > If not, then we have to assume that you are the only contributor before > migration to sourceforge in 2006. > > > > Thank you, > > Denis > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.akhiyarov at gmail.com Thu Aug 25 11:15:37 2016 From: denis.akhiyarov at gmail.com (Denis Akhiyarov) Date: Thu, 25 Aug 2016 10:15:37 -0500 Subject: [Python.NET] "Incorrect" behavior of inheriting from class which is inherited from .Net class In-Reply-To: References: Message-ID: *Hi Hansong, * I noticed that you (@hhspiny) released your WPF adventures with pythonnet on github, but without a license: https://github.com/hhspiny/WPFPy Can you please indicate the license? *Hi Tony,* Please let me know how this subclassing (.NET -> Python -> Python) would work? *Thanks,* *Denis* On Mon, Apr 11, 2016 at 2:04 AM, Tony Roberts wrote: > Hi, > > yes, deriving from a python class in Python that itself is derived from a > .net class doesn't work. Apologies, if I'd known that was what you were > doing I could have saved you some time by telling you that earlier. > > AFAIK this hasn't been created as an issue in github, so please if you > could do that that would be helpful. It's probably not that hard to make > work, but it's not something I've got time to look at myself right now I'm > afraid. If anyone else wants to have a go and needs pointing in the right > direction let me know. > > Tony > On Mon, Apr 11, 2016 at 3:41 AM Hansong Huang wrote: > >> Hello, >> >> This is related to previous investigation of inheriting from .NET >> interface class to create WPF MVVM structure. As now I believe it has >> nothing to do with interface class, but instead caused by inheriting from >> .Net class overall. >> >> please see the following code >> >> import clr, System >> class baseNA(System.Random): >> __namespace__ = "BaseNA" >> def __init__(self): >> super(baseNA,self).__init__() >> # @clr.clrmethod(System.String,[]) >> def ToString(self): >> return "string" >> >> class baseNB(baseNA): >> __namespace__ = "BaseNB" >> def __init__(self): >> super(baseNB,self).__init__() >> bna = baseNA() >> print bna.ToString() >> print bna._Random__ToString() >> bnb = baseNB() >> print bnb.ToString() >> print bnb._baseNA__ToString() >> print bnb._Random__ToString() >> >> >> This produces the following output >> string >> BaseNA.baseNA >> BaseNB.baseNB >> BaseNB.baseNB >> BaseNB.baseNB >> >> as you see, while baseNA -- the first level inherited class works fine. >> ToString() overrides System.Random.ToString() >> >> But baseNB inherited from baseNA did not inherit ToString() method from >> baseNA, but rather inherited from System.Random. >> >> Not sure if it is a bug in python.net or was intended. >> >> regards, >> >> Hansong >> >> >> >> >> _________________________________________________ >> Python.NET mailing list - PythonDotNet at python.org >> https://mail.python.org/mailman/listinfo/pythondotnet > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hhspiny at pine.cc Thu Aug 25 11:44:13 2016 From: hhspiny at pine.cc (Hansong Huang) Date: Thu, 25 Aug 2016 15:44:13 +0000 Subject: [Python.NET] "Incorrect" behavior of inheriting from class which is inherited from .Net class In-Reply-To: References: , Message-ID: Hi Denis, There is no licenses term. I simply used github to save files to work on between home and work. it is free to use by anyone. Since the current pythonnet does not really allow derive from class derived from .NET class. I can't really do what I intended to do, and therefore, I have not spent time on it further. I don't know much about the internal of python to contribute to correct the problem. The framework currently in github does work fine using ExpandoObject class directly. so it would be ok to be used for simpler program. Regards, Hansong ________________________________ From: Denis Akhiyarov Sent: Thursday, August 25, 2016 11:15:37 AM To: A list for users and developers of Python for .NET Cc: hhspiny at pine.cc Subject: Re: [Python.NET] "Incorrect" behavior of inheriting from class which is inherited from .Net class Hi Hansong, I noticed that you (@hhspiny) released your WPF adventures with pythonnet on github, but without a license: https://github.com/hhspiny/WPFPy Can you please indicate the license? Hi Tony, Please let me know how this subclassing (.NET -> Python -> Python) would work? Thanks, Denis On Mon, Apr 11, 2016 at 2:04 AM, Tony Roberts > wrote: Hi, yes, deriving from a python class in Python that itself is derived from a .net class doesn't work. Apologies, if I'd known that was what you were doing I could have saved you some time by telling you that earlier. AFAIK this hasn't been created as an issue in github, so please if you could do that that would be helpful. It's probably not that hard to make work, but it's not something I've got time to look at myself right now I'm afraid. If anyone else wants to have a go and needs pointing in the right direction let me know. Tony On Mon, Apr 11, 2016 at 3:41 AM Hansong Huang > wrote: Hello, This is related to previous investigation of inheriting from .NET interface class to create WPF MVVM structure. As now I believe it has nothing to do with interface class, but instead caused by inheriting from .Net class overall. please see the following code import clr, System class baseNA(System.Random): __namespace__ = "BaseNA" def __init__(self): super(baseNA,self).__init__() # @clr.clrmethod(System.String,[]) def ToString(self): return "string" class baseNB(baseNA): __namespace__ = "BaseNB" def __init__(self): super(baseNB,self).__init__() bna = baseNA() print bna.ToString() print bna._Random__ToString() bnb = baseNB() print bnb.ToString() print bnb._baseNA__ToString() print bnb._Random__ToString() This produces the following output string BaseNA.baseNA BaseNB.baseNB BaseNB.baseNB BaseNB.baseNB as you see, while baseNA -- the first level inherited class works fine. ToString() overrides System.Random.ToString() But baseNB inherited from baseNA did not inherit ToString() method from baseNA, but rather inherited from System.Random. Not sure if it is a bug in python.net or was intended. regards, Hansong _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.akhiyarov at gmail.com Thu Aug 25 12:13:23 2016 From: denis.akhiyarov at gmail.com (Denis Akhiyarov) Date: Thu, 25 Aug 2016 11:13:23 -0500 Subject: [Python.NET] "Incorrect" behavior of inheriting from class which is inherited from .Net class In-Reply-To: References: Message-ID: Ok, do you agree to MIT license for your code? I may use some of your code to contribute to WPF demo. https://github.com/pythonnet/pythonnet/pull/185 On Thu, Aug 25, 2016 at 10:44 AM, Hansong Huang wrote: > Hi Denis, > > > There is no licenses term. I simply used github to save files to work on > between home and work. it is free to use by anyone. > > > Since the current pythonnet does not really allow derive from class > derived from .NET class. I can't really do what I intended to do, and > therefore, I have not spent time on it further. I don't know much about > the internal of python to contribute to correct the problem. > > > The framework currently in github does work fine using ExpandoObject class > directly. so it would be ok to be used for simpler program. > > > Regards, > > > Hansong > ------------------------------ > *From:* Denis Akhiyarov > *Sent:* Thursday, August 25, 2016 11:15:37 AM > *To:* A list for users and developers of Python for .NET > *Cc:* hhspiny at pine.cc > *Subject:* Re: [Python.NET] "Incorrect" behavior of inheriting from class > which is inherited from .Net class > > *Hi Hansong, * > > I noticed that you (@hhspiny) released your WPF adventures with pythonnet > on github, but without a license: > > https://github.com/hhspiny/WPFPy > > Can you please indicate the license? > > *Hi Tony,* > > Please let me know how this subclassing (.NET -> Python -> Python) would > work? > > *Thanks,* > *Denis* > > On Mon, Apr 11, 2016 at 2:04 AM, Tony Roberts wrote: > >> Hi, >> >> yes, deriving from a python class in Python that itself is derived from a >> .net class doesn't work. Apologies, if I'd known that was what you were >> doing I could have saved you some time by telling you that earlier. >> >> AFAIK this hasn't been created as an issue in github, so please if you >> could do that that would be helpful. It's probably not that hard to make >> work, but it's not something I've got time to look at myself right now I'm >> afraid. If anyone else wants to have a go and needs pointing in the right >> direction let me know. >> >> Tony >> On Mon, Apr 11, 2016 at 3:41 AM Hansong Huang wrote: >> >>> Hello, >>> >>> This is related to previous investigation of inheriting from .NET >>> interface class to create WPF MVVM structure. As now I believe it has >>> nothing to do with interface class, but instead caused by inheriting from >>> .Net class overall. >>> >>> please see the following code >>> >>> import clr, System >>> class baseNA(System.Random): >>> __namespace__ = "BaseNA" >>> def __init__(self): >>> super(baseNA,self).__init__() >>> # @clr.clrmethod(System.String,[]) >>> def ToString(self): >>> return "string" >>> >>> class baseNB(baseNA): >>> __namespace__ = "BaseNB" >>> def __init__(self): >>> super(baseNB,self).__init__() >>> bna = baseNA() >>> print bna.ToString() >>> print bna._Random__ToString() >>> bnb = baseNB() >>> print bnb.ToString() >>> print bnb._baseNA__ToString() >>> print bnb._Random__ToString() >>> >>> >>> This produces the following output >>> string >>> BaseNA.baseNA >>> BaseNB.baseNB >>> BaseNB.baseNB >>> BaseNB.baseNB >>> >>> as you see, while baseNA -- the first level inherited class works fine. >>> ToString() overrides System.Random.ToString() >>> >>> But baseNB inherited from baseNA did not inherit ToString() method from >>> baseNA, but rather inherited from System.Random. >>> >>> Not sure if it is a bug in python.net or was intended. >>> >>> regards, >>> >>> Hansong >>> >>> >>> >>> >>> _________________________________________________ >>> Python.NET mailing list - PythonDotNet at python.org >>> https://mail.python.org/mailman/listinfo/pythondotnet >> >> >> _________________________________________________ >> Python.NET mailing list - PythonDotNet at python.org >> https://mail.python.org/mailman/listinfo/pythondotnet >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: