This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients Lucas Wiman, Sumudu.Fernando, eric.araujo, falsetru, nneonneo, rhettinger, terry.reedy, tim.peters, yegle
Date 2016-09-17.20:43:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474145018.39.0.160119961551.issue10109@psf.upfronthosting.co.za>
In-reply-to
Content
I see nothing wrong with combinatorial generators materializing their inputs before generation.  Perhaps it should be documented clearly.  It's certainly not limited to `product()`.  For example,

>>> for i in itertools.combinations(itertools.count(), 2):
...	print(i)

dies with MemoryError too.  But I expected that ;-)
History
Date User Action Args
2016-09-17 20:43:38tim.peterssetrecipients: + tim.peters, rhettinger, terry.reedy, falsetru, nneonneo, eric.araujo, Sumudu.Fernando, yegle, Lucas Wiman
2016-09-17 20:43:38tim.peterssetmessageid: <1474145018.39.0.160119961551.issue10109@psf.upfronthosting.co.za>
2016-09-17 20:43:38tim.peterslinkissue10109 messages
2016-09-17 20:43:38tim.peterscreate