Python 3 support bugfixes finalized