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 Henry Carscadden
Recipients Dennis Sweeney, Henry Carscadden, rhettinger, tim.peters
Date 2020-04-10.15:13:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586531630.97.0.924279274023.issue40230@roundup.psfhosted.org>
In-reply-to
Content
@Tim Peters
For example,
the following should reproduce the error:
many_arguments = [[1,2] for i in range(50)]
for term in product(*many_arguments):
    print(term)
In my application, I was taking the Cartesian product of the sets of all simple path to several nodes. This regularly produced a lot of arguments and crashed the compute nodes on which my jobs were running. Perhaps, this is not a salient concern for most uses, but I just wanted to make you aware of the issue.
History
Date User Action Args
2020-04-10 15:13:50Henry Carscaddensetrecipients: + Henry Carscadden, tim.peters, rhettinger, Dennis Sweeney
2020-04-10 15:13:50Henry Carscaddensetmessageid: <1586531630.97.0.924279274023.issue40230@roundup.psfhosted.org>
2020-04-10 15:13:50Henry Carscaddenlinkissue40230 messages
2020-04-10 15:13:50Henry Carscaddencreate