From anthoff at berkeley.edu Sat Feb 1 00:54:42 2014 From: anthoff at berkeley.edu (David Anthoff) Date: Fri, 31 Jan 2014 15:54:42 -0800 Subject: [Python.NET] github migration DONE Message-ID: Hi all, I got an ok from Brian and Barton on the github migration, so please consider https://github.com/pythonnet/pythonnet the new home for this project. Please do use the issue tracker to file your ideas, fork the project, create pull requests, test the current version etc. Hopefully we can revive this project! If you would want to volunteer with reviewing stuff etc, please let me know, I myself don't know the codebase well, so right now I'm just trying to get things moving again but it would be good if someone with more familiarity with the code would be active as well. My immediate next goal would be to release a stable version. So my sense is that we should not try to do new features, but first get something out that works again. Best, David -- David Anthoff University of California, Berkeley http://www.david-anthoff.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthoff at berkeley.edu Sat Feb 1 00:55:58 2014 From: anthoff at berkeley.edu (David Anthoff) Date: Fri, 31 Jan 2014 15:55:58 -0800 Subject: [Python.NET] When will you release a new build that works on Windows 8.1? In-Reply-To: <8336733BA5A4DB4F9CD58B1DB79624B307D1A869@wcosexch03.agilent.com> References: <8336733BA5A4DB4F9CD58B1DB79624B307D15628@wcosexch03.agilent.com> <8336733BA5A4DB4F9CD58B1DB79624B307D1A869@wcosexch03.agilent.com> Message-ID: I created a pull request that fixes this bug: https://github.com/pythonnet/pythonnet/pull/4 Would be great if some of the people that are familiar with the code base could review it before we merge it. Thanks, David From: PythonDotNet [mailto:pythondotnet-bounces+anthoff=berkeley.edu at python.org] On Behalf Of alan_copeland at agilent.com Sent: Thursday, January 16, 2014 4:28 PM To: pythondotnet at python.org Subject: Re: [Python.NET] When will you release a new build that works on Windows 8.1? Awesome, I'll give that a try. Good luck with the unpacking :) Regards, Alan Copeland Agilent Technologies, Inc. From: PythonDotNet [mailto:pythondotnet-bounces+alan_copeland=agilent.com at python.org] On Behalf Of davidacoder Sent: Thursday, January 16, 2014 1:23 PM To: 'A list for users and developers of Python for .NET' Subject: Re: [Python.NET] When will you release a new build that works on Windows 8.1? Hi Alan, I described a fix that worked for me in this mail message: https://mail.python.org/pipermail/pythondotnet/2013-November/001434.html I will follow up with plans to finish the github migration and release an official build at some point later, I just moved cross country and things are a bit hectic. Best, David From: PythonDotNet [mailto:pythondotnet-bounces+davidacoder=hotmail.com at python.org] On Behalf Of alan_copeland at agilent.com Sent: Monday, January 13, 2014 6:35 AM To: pythondotnet at python.org Subject: [Python.NET] When will you release a new build that works on Windows 8.1? When will you release a new build that works on Windows 8.1? I saw some emails in the list archive, but was wondering if anyone had worked out a more concrete plan? Regards, Alan Copeland Agilent Technologies, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kyle.rocha at gmail.com Sat Feb 1 03:42:57 2014 From: kyle.rocha at gmail.com (Kyle Rocha) Date: Fri, 31 Jan 2014 18:42:57 -0800 Subject: [Python.NET] github migration DONE In-Reply-To: References: Message-ID: This is great work. Thanks! On Jan 31, 2014 4:24 PM, "David Anthoff" wrote: > Hi all, > > > > I got an ok from Brian and Barton on the github migration, so please > consider https://github.com/pythonnet/pythonnet the new home for this > project. > > > > Please do use the issue tracker to file your ideas, fork the project, > create pull requests, test the current version etc. Hopefully we can revive > this project! > > > > If you would want to volunteer with reviewing stuff etc, please let me > know, I myself don't know the codebase well, so right now I'm just trying > to get things moving again but it would be good if someone with more > familiarity with the code would be active as well. > > > > My immediate next goal would be to release a stable version. So my sense > is that we should not try to do new features, but first get something out > that works again. > > > > Best, > > David > > > > -- > > David Anthoff > > University of California, Berkeley > > > > http://www.david-anthoff.com > > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From btribble at ea.com Sat Feb 1 04:34:27 2014 From: btribble at ea.com (Tribble, Brett) Date: Sat, 1 Feb 2014 03:34:27 +0000 Subject: [Python.NET] github migration DONE In-Reply-To: References: Message-ID: <3b13225ecd224a8cb62285a05cc8cbc1@CO1PR07MB379.namprd07.prod.outlook.com> Yes! So glad to see this happen. From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of Kyle Rocha Sent: Friday, January 31, 2014 6:43 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] github migration DONE This is great work. Thanks! On Jan 31, 2014 4:24 PM, "David Anthoff" > wrote: Hi all, I got an ok from Brian and Barton on the github migration, so please consider https://github.com/pythonnet/pythonnet the new home for this project. Please do use the issue tracker to file your ideas, fork the project, create pull requests, test the current version etc. Hopefully we can revive this project! If you would want to volunteer with reviewing stuff etc, please let me know, I myself don't know the codebase well, so right now I'm just trying to get things moving again but it would be good if someone with more familiarity with the code would be active as well. My immediate next goal would be to release a stable version. So my sense is that we should not try to do new features, but first get something out that works again. Best, David -- David Anthoff University of California, Berkeley http://www.david-anthoff.com _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sam_Ling at bio-rad.com Tue Feb 4 02:15:04 2014 From: Sam_Ling at bio-rad.com (Sam Ling) Date: Mon, 3 Feb 2014 17:15:04 -0800 Subject: [Python.NET] ImportError: No module named System when running .exe created by py2exe Message-ID: Hey, Dear. I used py2exe to build .exe application for the program. When I ran the .exe , there is ImportError: No module named System. In python script , I used Python for .NET package. " from System import * from System import String " It's working properly, if running directly from the script (python2.7+win7). But it failed if running .exe created by py2exe. Could anyone help? Appreciate it very much. Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgill at tokiomillennium.com Wed Feb 5 17:46:59 2014 From: jgill at tokiomillennium.com (John Gill) Date: Wed, 5 Feb 2014 16:46:59 +0000 Subject: [Python.NET] Passing in null as the value for a nullable type. Message-ID: I am sure there is a really simple answer to this one... but so far it is eluding me. I have a class something like this: public class Foo { ... public int process_date(DateTime? mydate) { ... } } I want to call this from python using pythondotnet. Calling it like this works fine: mydate = DateTime(0) Foo().process_date(mydate) But if I try to pass in a null as the date as follows: Foo().process_date(None) I get: TypeError: No method matches given arguments Hoping there is something really obvious I am missing here. John This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From btribble at ea.com Wed Feb 5 18:44:44 2014 From: btribble at ea.com (Tribble, Brett) Date: Wed, 5 Feb 2014 17:44:44 +0000 Subject: [Python.NET] Passing in null as the value for a nullable type. In-Reply-To: References: Message-ID: I believe you want to import System and pass System.Null. I can't remember if I've done this, but I think so. From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of John Gill Sent: Wednesday, February 05, 2014 8:47 AM To: pythondotnet at python.org Subject: [Python.NET] Passing in null as the value for a nullable type. I am sure there is a really simple answer to this one... but so far it is eluding me. I have a class something like this: public class Foo { ... public int process_date(DateTime? mydate) { ... } } I want to call this from python using pythondotnet. Calling it like this works fine: mydate = DateTime(0) Foo().process_date(mydate) But if I try to pass in a null as the date as follows: Foo().process_date(None) I get: TypeError: No method matches given arguments Hoping there is something really obvious I am missing here. John This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgill at tokiomillennium.com Wed Feb 5 19:25:17 2014 From: jgill at tokiomillennium.com (John Gill) Date: Wed, 5 Feb 2014 18:25:17 +0000 Subject: [Python.NET] Passing in null as the value for a nullable type. In-Reply-To: References: Message-ID: Thanks. At least on my system there is no such thing as System.Null In c# at least, null is just a keyword in the language. From: PythonDotNet [mailto:pythondotnet-bounces+jgill=tokiomillennium.com at python.org] On Behalf Of Tribble, Brett Sent: Wednesday, February 05, 2014 1:45 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Passing in null as the value for a nullable type. I believe you want to import System and pass System.Null. I can't remember if I've done this, but I think so. From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of John Gill Sent: Wednesday, February 05, 2014 8:47 AM To: pythondotnet at python.org Subject: [Python.NET] Passing in null as the value for a nullable type. I am sure there is a really simple answer to this one... but so far it is eluding me. I have a class something like this: public class Foo { ... public int process_date(DateTime? mydate) { ... } } I want to call this from python using pythondotnet. Calling it like this works fine: mydate = DateTime(0) Foo().process_date(mydate) But if I try to pass in a null as the date as follows: Foo().process_date(None) I get: TypeError: No method matches given arguments Hoping there is something really obvious I am missing here. John This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad at fie.us Wed Feb 5 19:43:27 2014 From: brad at fie.us (Brad Friedman) Date: Wed, 5 Feb 2014 13:43:27 -0500 Subject: [Python.NET] Passing in null as the value for a nullable type. In-Reply-To: References: Message-ID: DateTime is a struct. You have to pass a value. It should not take null. If you tried to do that in c# it would not allow it either. > On Feb 5, 2014, at 11:46 AM, John Gill wrote: > > I am sure there is a really simple answer to this one? but so far it is eluding me. > > I have a class something like this: > > public class Foo > { > ? > public int process_date(DateTime? mydate) > { > ? > } > } > > > I want to call this from python using pythondotnet. > > > Calling it like this works fine: > > mydate = DateTime(0) > Foo().process_date(mydate) > > But if I try to pass in a null as the date as follows: > > Foo().process_date(None) > > I get: > > TypeError: No method matches given arguments > > Hoping there is something really obvious I am missing here. > > John > This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. > > > > E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. > > ****************************************** > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From zane.purvis at gmail.com Wed Feb 5 20:35:44 2014 From: zane.purvis at gmail.com (Zane D. Purvis) Date: Wed, 5 Feb 2014 14:35:44 -0500 Subject: [Python.NET] Passing in null as the value for a nullable type. In-Reply-To: References: Message-ID: Try System.Nullable[System.DateTime]() I haven't tested that, but I think that's what you need. On Wed, Feb 5, 2014 at 1:25 PM, John Gill wrote: > Thanks. At least on my system there is no such thing as System.Null > > > > In c# at least, null is just a keyword in the language. > > > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+jgill= > tokiomillennium.com at python.org] *On Behalf Of *Tribble, Brett > *Sent:* Wednesday, February 05, 2014 1:45 PM > *To:* A list for users and developers of Python for .NET > *Subject:* Re: [Python.NET] Passing in null as the value for a nullable > type. > > > > I believe you want to import System and pass System.Null. I can't remember > if I've done this, but I think so. > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+btribble= > ea.com at python.org] *On Behalf Of *John Gill > *Sent:* Wednesday, February 05, 2014 8:47 AM > *To:* pythondotnet at python.org > *Subject:* [Python.NET] Passing in null as the value for a nullable type. > > > > I am sure there is a really simple answer to this one... but so far it is > eluding me. > > > > I have a class something like this: > > > > public class Foo > > { > > ... > > public int process_date(DateTime? mydate) > > { > > ... > > } > > } > > > > > > I want to call this from python using pythondotnet. > > > > > > Calling it like this works fine: > > > > mydate = DateTime(0) > > Foo().process_date(mydate) > > > > But if I try to pass in a null as the date as follows: > > > > Foo().process_date(None) > > > > I get: > > > > TypeError: No method matches given arguments > > > > Hoping there is something really obvious I am missing here. > > > > John > > This communication and any attachments contain information which is > confidential and may also be legally privileged. It is for the exclusive > use of the intended recipient(s). If you are not the intended recipient(s) > please note that any form of disclosure, distribution, copying, printing or > use of this communication or the information in it or in any attachments is > strictly prohibited and may be unlawful. If you have received this > communication in error, please return it with the title "received in error" > to postmaster at tokiomillennium.com and then permanently delete the email > and any attachments from your system. > > > > E-mail communications cannot be guaranteed to be secure or error free, as > information could be intercepted, corrupted, amended, lost, destroyed, > arrive late or incomplete, or contain viruses. It is the recipient's > responsibility to ensure that e-mail transmissions and any attachments are > virus free. We do not accept liability for any damages or other > consequences caused by information that is intercepted, corrupted, amended, > lost, destroyed, arrives late or incomplete or contains viruses. > > ****************************************** > > This communication and any attachments contain information which is > confidential and may also be legally privileged. It is for the exclusive > use of the intended recipient(s). If you are not the intended recipient(s) > please note that any form of disclosure, distribution, copying, printing or > use of this communication or the information in it or in any attachments is > strictly prohibited and may be unlawful. If you have received this > communication in error, please return it with the title "received in error" > to postmaster at tokiomillennium.com and then permanently delete the email > and any attachments from your system. > > > > E-mail communications cannot be guaranteed to be secure or error free, as > information could be intercepted, corrupted, amended, lost, destroyed, > arrive late or incomplete, or contain viruses. It is the recipient's > responsibility to ensure that e-mail transmissions and any attachments are > virus free. We do not accept liability for any damages or other > consequences caused by information that is intercepted, corrupted, amended, > lost, destroyed, arrives late or incomplete or contains viruses. > > ****************************************** > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgill at tokiomillennium.com Wed Feb 5 20:59:45 2014 From: jgill at tokiomillennium.com (John Gill) Date: Wed, 5 Feb 2014 19:59:45 +0000 Subject: [Python.NET] Passing in null as the value for a nullable type. In-Reply-To: References: Message-ID: Thanks Brad. I think I understand what is happening now. Note that the C# code I posted works fine, you can pass in Null as mydate. DateTime? mydate Gets translated by the C# compiler to System.Nullable mydate. When you pass in null to the method C# sets up a Nullable with the HasValue set to False. As far as I can tell there is no way to create such a thing in pythondotnet. Not sure whether this is a bug or a feature, but certainly explains why it is dazed and confused when I try to pass in None, it isn?t prepared to match the DateTime?. In this case, I have control of the C# code so I can just overload the method and work around this. Thanks for helping me understand what is going on. John From: PythonDotNet [mailto:pythondotnet-bounces+jgill=tokiomillennium.com at python.org] On Behalf Of Brad Friedman Sent: Wednesday, February 05, 2014 2:43 PM To: A list for users and developers of Python for .NET Cc: pythondotnet at python.org Subject: Re: [Python.NET] Passing in null as the value for a nullable type. DateTime is a struct. You have to pass a value. It should not take null. If you tried to do that in c# it would not allow it either. On Feb 5, 2014, at 11:46 AM, John Gill > wrote: I am sure there is a really simple answer to this one? but so far it is eluding me. I have a class something like this: public class Foo { ? public int process_date(DateTime? mydate) { ? } } I want to call this from python using pythondotnet. Calling it like this works fine: mydate = DateTime(0) Foo().process_date(mydate) But if I try to pass in a null as the date as follows: Foo().process_date(None) I get: TypeError: No method matches given arguments Hoping there is something really obvious I am missing here. John This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgill at tokiomillennium.com Wed Feb 5 21:13:30 2014 From: jgill at tokiomillennium.com (John Gill) Date: Wed, 5 Feb 2014 20:13:30 +0000 Subject: [Python.NET] Passing in null as the value for a nullable type. In-Reply-To: References: Message-ID: That's what I thought too... but.. In [82]: System.Nullable[System.DateTime]() --------------------------------------------------------------------------- TypeError Traceback (most recent call last) in () ----> 1 System.Nullable[System.DateTime]() TypeError: no constructor matches given arguments In any case that would give me an actual DateTime, not a Nullable with HasValue = false If only you HasValue wasn't read only ;) Anyway, now I understand what is going on I think this is enough of an edge case not to worry about - unless someone out there has a simple fix to pythondotnet to support it. John From: PythonDotNet [mailto:pythondotnet-bounces+jgill=tokiomillennium.com at python.org] On Behalf Of Zane D. Purvis Sent: Wednesday, February 05, 2014 3:36 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Passing in null as the value for a nullable type. Try System.Nullable[System.DateTime]() I haven't tested that, but I think that's what you need. On Wed, Feb 5, 2014 at 1:25 PM, John Gill > wrote: Thanks. At least on my system there is no such thing as System.Null In c# at least, null is just a keyword in the language. From: PythonDotNet [mailto:pythondotnet-bounces+jgill=tokiomillennium.com at python.org] On Behalf Of Tribble, Brett Sent: Wednesday, February 05, 2014 1:45 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Passing in null as the value for a nullable type. I believe you want to import System and pass System.Null. I can't remember if I've done this, but I think so. From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of John Gill Sent: Wednesday, February 05, 2014 8:47 AM To: pythondotnet at python.org Subject: [Python.NET] Passing in null as the value for a nullable type. I am sure there is a really simple answer to this one... but so far it is eluding me. I have a class something like this: public class Foo { ... public int process_date(DateTime? mydate) { ... } } I want to call this from python using pythondotnet. Calling it like this works fine: mydate = DateTime(0) Foo().process_date(mydate) But if I try to pass in a null as the date as follows: Foo().process_date(None) I get: TypeError: No method matches given arguments Hoping there is something really obvious I am missing here. John This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: