Python 3 support for hindemith