W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > October 2009

cwm bug - deprecation warnings with python 2.6

From: Thurn, Martin (IS) <martin.thurn@ngc.com>
Date: Thu, 29 Oct 2009 08:25:22 -0500
Message-ID: <9BB6D5180A5DCF4CA872852DA8109D0B032EFC33@XMBIL121.northgrum.com>
To: <public-cwm-bugs@w3.org>
Cc: "Thurn, Martin (IS)" <martin.thurn@ngc.com>
On Fedora Core 11 with Python 2.6, cwm spits out several warnings:

/usr/lib/python2.6/site-packages/swap/why.py:30: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, binascii  # for building md5 URIs
#Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp 
        #    using base file:///home/thurnma/Work/workspace/SHARDS_API/
/usr/lib/python2.6/site-packages/swap/term.py:1655: DeprecationWarning: object.__new__() takes no parameters
  self = Fragment.__new__(cls, *args, **keywords)
/usr/lib/python2.6/site-packages/swap/cwm_crypto.py:15: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import md5, sha, binascii, quopri, base64

 - - Martin 
Received on Thursday, 29 October 2009 14:55:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 October 2009 14:55:06 GMT