nanshe/nanshe_learner.py: Convert ready_processes to an iter.