offmessage / pyscrobbler

Python bindings for the last.fm API
http://github.com/offmessage/pyscrobbler
8 stars 0 forks source link

DeprecationWarning with python 2.6 #2

Open offmessage opened 14 years ago

offmessage commented 14 years ago

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)

offmessage commented 14 years ago

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/)