[mod] py3 stuff