last bits of pymapi to pyopenchange conversion