Hello everybody!

I was just trying amsn2 in its current state and i was wondering if should be
better to force the python version to 2.5, since some people may be using 2.6 as
default.

The reason that I'm asking this is that I'm using ubuntu 9.04 that has python
2.6 as default (still have 2.5) and starting amsn2 I get some warning from 
pymsn:


l...@descartes:~/dev/amsn2$ ./amsn2.py 
./pymsn/pymsn/msnp/notification.py:41: DeprecationWarning: the md5 module is
deprecated; use hashlib instead
  import md5
./pymsn/pymsn/util/weak.py:23: DeprecationWarning: the sets module is deprecated
  from sets import Set
./pymsn/pymsn/p2p.py:39: DeprecationWarning: the sha module is deprecated; use
the hashlib module instead
  import sha

amsn2 still works normally, but could this be a problem during developement?
maybe check the python version before starting anything else and run with 2.6
only if 2.5 is missing, notifying this to the user in some way?

I don't know exactly what differences are there between 2.5 and 2.6 so this
could be irrilevant, just wanted to know what you think about this.Thanks

Luca


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to