The following reply was made to PR ports/135832; it has been noted by GNATS.
From: Keith Gaughan <kmgaug...@eircom.net> To: bug-follo...@freebsd.org Cc: Subject: Re: ports/135832: security/py-pycrypto: Deprecation warnings when used with Python 2.6. Date: Wed, 15 Jul 2009 13:59:25 +0100 The patch that I provided is actually a *backport* from the current development version of PyCrypto (as evidenced by the link I provided to its git repository), so it's safe to say that the PyCrypto developers themselves consider it to be safe and good. The patch doesn't actually do any warning suppression. What it does is first try the non-deprecated method of using hashlib (which works in and is recommended for Python 2.5 and after), and then, if that fails (i.e. in pre-2.5 version of Python), it uses the old deprecated (see PEP-0004) method of importing the md5 and sha modules instead. Because quite a bit of code out there uses PyCrypto, requiring the use of 2.5 would probably cause more trouble than good. -- Keith Gaughan - kmgaug...@eircom.net - http://talideon.com/ - CF9F6473 With Age comes Wisdom--but sometimes Age travels alone. _______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"