python generator issue again...