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

Terry J. Reedy report at bugs.python.org
Sun Sep 18 03:10:49 EDT 2016


Terry J. Reedy added the comment:

Recipes for handling an infinite first iterator for product, or an infinite iterator for combinations (they could be similar), that use and build on the current functions, without the output order constraint, might be candidates for the recipe section.  I will probably write at least one of them for my own purposes someday.

----------

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


More information about the Python-bugs-list mailing list