Mod: add py3k support

Python 2.5 support was dropped in this commit
Merge pull request #18 from yegle/py3k

Add py3k support