Support Python 3. fix #3
Merge branch 'py3k'