[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

Hagen Fürstenau report at bugs.python.org
Thu Aug 5 10:55:51 CEST 2010

Hagen Fürstenau <hfuerstenau at gmx.net> added the comment:

IIUC, the only change you suggest for my patch is using "finite iterable" instead of "sequence" or "iterable", right?

I've looked at the docs and there seems to be no precedent for "finite iterable". I think it's just as obvious that the iterable has to yield a correct (and finite) number of parameters as the fact that "list(itertools.count())" is a bad idea. So for consistency I would like to keep "iterable".


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list