tweak python compile