Python 3 support (checked on Python 3.3 and PyPy 3.2