Initial Python 3.x support implemented