[mod] more py3 stuff