fix pyobjects exec calls