Re: Python 6 and md5 module is depracted use hashlib?

Scott Kitterman <[email protected]> Tue, 06 Oct 2009 23:41:04 -0400
Newsgroups gmane.mail.spam.spf.devel
Message-ID <20255-SnapperMsgD8DB99B6C6F1BE56@[70.211.250.35]>
On Tue, 6 Oct 2009 23:18:54 -0400 (EDT) "Stuart D. Gathman" 
<[email protected]> wrote:
>On Tue, 6 Oct 2009, Scott Kitterman wrote:
>
>> On Tue, 6 Oct 2009 19:00:34 -0600 Boyd Lynn Gerber <[email protected]> 
>> wrote:
>> >I was looking at the python SPF stuff.  I noticed I get a warning 
similar 
>> >to this one below but for the python SPF module.
>> >
>> >/usr/lib64/python2.6/site-packages/twisted/spread/pb.py:64: 
>> >DeprecationWarning: the md5 module is deprecated; use hashlib instead 
>> >import md5
>> 
>> Neither pyspf nor the one module it requires, pydns, use the md5 module. 
 I 
>> also checked the python SPF policy server and it does not either.
>
>Pysrs could be updated to use hashlib - but it currently uses sha, not md5.

Yes.  I have that on my list to do to go with your licensing 
clarifications.  It generates a similar warning.

Scott K