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?)*
<http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/QTY5NNDEGHPYYOHOVYYL5ZDMF77RWPPU/
Code of Conduct: http://python.org/psf/codeofconduct/