[issue10109] itertools.product with infinite iterator cause MemoryError.

Raymond Hettinger report at bugs.python.org
Sat Sep 17 18:06:47 EDT 2016


Raymond Hettinger added the comment:

> What's the major objection to making all of the itertools functions "maximally lazy"?

It complicates the code and provides nearly zero benefit in practical use cases of the combinatoric functions.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10109>
_______________________________________


More information about the Python-bugs-list mailing list