On Sat, Jul 27, 2019 at 12:06 AM Guido van Rossum <
guido@python.org> wrote:
>
> IMO if you need the concrete Cartesian product instantiated you're probably doing something wrong, or you're addicted to a certain kind of programming competitions with highly mathematical puzzles. itertools.product() is good enough for the occasional legitimate use case (I think I recall encountering one in the past decade or so).
>
> Batuhan, if you still want to continue to debate this, please show some real use cases of programs where itertools.product() makes it hard for the human reader to understand the code. Examples like {1, 2, 3} * {"a", "b", "c"} do *not* count.
>
> --
> --Guido van Rossum (
python.org/~guido)
> Pronouns: he/him/his (why is my pronoun here?)