fixed StopAndReturnIteration on py3.2