Steps towards py3