Re: Python 6 and md5 module is depracted use hashlib?
"Stuart D. Gathman" <[email protected]> Tue, 6 Oct 2009 23:18:54 -0400 (EDT)
| Newsgroups | gmane.mail.spam.spf.devel |
|---|---|
| Message-ID | <[email protected]> |
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. -- Stuart D. Gathman <[email protected]> Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 "Confutatis maledictis, flammis acribus addictis" - background song for a Microsoft sponsored "Where do you want to go from here?" commercial.