DeprecationWarning with python 2.6
offmessage opened this issue · comments
On Debian Squeeze launching my code with python2.6 I got the following warning:
src/lib/audioscrobbler.py:273: DeprecationWarning: the md5 module is
deprecated; use hashlib instead
import datetime, locale, md5, pickle, re, site, sys, time, urllib, urllib2
Cheers,
Geoff
(originally opened by http://code.google.com/u/@UxdQRFxXABRBWwh6/ at http://code.google.com/p/pyscrobbler/issues/detail?id=9)
Just following on from the previous entry:
audioscrobbler.py:334: DeprecationWarning: BaseException.message has been deprecated
as of Python 2.6
self.message = message
(originally made by http://code.google.com/u/dane.walsh/)