pymox ported to python3