[issue32341] itertools "generators"?

New submission from Stefan Pochmann <stefan.pochmann@gmail.com>: The itertools page https://docs.python.org/3.6/library/itertools.html says "Combinatoric generators:" above the table with product(), permutations(), etc. But as far as I understand, they're not generators and they don't produce generator iterators. I think the table title should be "Combinatoric iterators:" instead, in line with "Infinite Iterators:" and "Iterators terminating on the shortest input sequence:" of the two tables above it. Reference: https://docs.python.org/3/glossary.html#term-generator ---------- assignee: docs@python components: Documentation messages: 308425 nosy: Stefan Pochmann, docs@python priority: normal severity: normal status: open title: itertools "generators"? versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32341> _______________________________________

Raymond Hettinger <raymond.hettinger@gmail.com> added the comment: The term is used in the generic sense rather than the sense of an actual type. That said, I don't mind changing "Combinatoric generators" to "Combinatoric iterators" for 3.6 and 3.7. Otherwise, this isn't worth the backport effort. ---------- assignee: docs@python -> rhettinger nosy: +rhettinger priority: normal -> low versions: -Python 2.7, Python 3.5 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32341> _______________________________________

Change by Raymond Hettinger <raymond.hettinger@gmail.com>: ---------- keywords: +patch pull_requests: +4786 stage: -> patch review _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32341> _______________________________________

Change by Roundup Robot <devnull@psf.upfronthosting.co.za>: ---------- pull_requests: +4790 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32341> _______________________________________

Change by Raymond Hettinger <raymond.hettinger@gmail.com>: ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue32341> _______________________________________
participants (3)
-
Raymond Hettinger
-
Roundup Robot
-
Stefan Pochmann