[twill] deprecation warnings in python 2.6

bruce bruce at ironfist.org
Wed Jun 10 16:52:42 PDT 2009


It appears to be fixed in mechanize v0.1.11.

- Bruce

On Wed, Jun 10, 2009 at 10:28:44AM -0700, C. Titus Brown wrote:
> On Wed, Jun 10, 2009 at 10:25:28AM -0700, bruce wrote:
> -> I'm getting these warnings now from twill:
> -> 
> ->     /usr/lib64/python2.6/site-packages/twill/other_packages/_mechanize_dist/_auth.py:14: DeprecationWarning: the md5 module is deprecated; use hashlib instead
> ->       import re, base64, urlparse, posixpath, md5, sha, sys, copy
> ->     /usr/lib64/python2.6/site-packages/twill/other_packages/_mechanize_dist/_auth.py:14: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
> -> 
> -> Is there a resolution for this?
> 
> Hi Bruce,
> 
> these are in mechanize... do you know if it's been fixed there?
> 
> --titus
> -- 
> C. Titus Brown, ctb at msu.edu
> 



More information about the twill mailing list