python 3 support

as latest master