Thanks.
Busy at PyCon the next few days, but will take a look next week.
John
From: PythonDotNet [mailto:pythondotnet-bounces+jgill=tokiomillennium.com@python.org] On Behalf Of Tony Roberts
Sent: Wednesday, April 09, 2014 2:06 PM
To: A list for users and developers of Python for .NET
Subject: Re: [Python.NET] Deprecation warnings
Hi John,
I've just checked in a fix for this.
You should be able to try it out by getting the latest from the develop branch of https://github.com/pythonnet/pythonnet and building it locally using setup.py, eg:
python setup.py install
cheers,
Tony
On Wed, Apr 9, 2014 at 3:56 PM, John Gill mailto:jgill@tokiomillennium.com> wrote:
Thanks Tony,
I am actually having more general weirdness with this. I have installs on different machines, some are giving me the deprecation warning, some are not.
So, let me know if you cannot duplicate the warning, it may be an issue on my end.
John
From: PythonDotNet [mailto:pythondotnet-bounces+jgillmailto:pythondotnet-bounces%2Bjgill=tokiomillennium.com@python.orgmailto:tokiomillennium.com@python.org] On Behalf Of Tony Roberts
Sent: Wednesday, April 09, 2014 8:59 AM
To: A list for users and developers of Python for .NET
Subject: Re: [Python.NET] Deprecation warnings
Hi Jon,
add clr.AddReference("System.Collections") to your code before the import. I'll take a look at why that warning message doesn't have the correct assembly name.
cheers,
Tony
On Wed, Apr 9, 2014 at 12:36 PM, John Gill mailto:jgill@tokiomillennium.com> wrote:
I just upgraded to pythonnet 2.0 - thanks to "pip install -pre pythonnet"
Thanks for making that work.
I am now getting these deprecation warnings:
The module was found, but not in a referenced namespace.
Implicit loading is deprecated. Please use clr.AddReference("System.Collections.Generic.List").
from System.Collections.Generic import List
When I try suppressing this as suggested I get an error due to being unable to find the System.Collections.Generic.List assembly.
Wondering how we are supposed to handle this in the future?
John
PS anyone heading to PyCon?
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@tokiomillennium.commailto:postmaster@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@python.orgmailto:PythonDotNet@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@tokiomillennium.commailto:postmaster@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@python.orgmailto:PythonDotNet@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@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.
******************************************