Update for Python 3.3 compatibility
Merge pull request #52 from axel22/patch-1

Update for Python 3.3 compatibility