Port to Python 3.3
Merge pull request #1 from e0ne/python3

Port to Python 3.3