[twill] deprecation warnings in python 2.6

John J Lee jjl at pobox.com
Wed Jun 10 15:36:21 PDT 2009


On Wed, 10 Jun 2009, 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?

It's fixed there, yes.


John




More information about the twill mailing list