yield_all needed in Python
nessus at mit.edu
Tue Mar 1 23:28:34 CET 2005
Francis Girard <francis.girard at free.fr> writes:
> Therefore, the suggestion you make, or something similar, would have
> actually ease my learning, at least for me.
Yes, I agree 100%. Not having something like "yield_all" hurt my
ability to learn to use Python's generators quickly because I figured
that Python had to have something like yield_all. But no matter how
hard I looked, I couldn't find anything about it in the manual.
So the argument that adding a feature makes the language harder to
learn is a specious one. Sometimes an extra feature makes the
language easier to learn.
More information about the Python-list