[issue41120] Possible performance improvement for itertools.product example on Python Docs
Raymond Hettinger
report at bugs.python.org
Thu Jun 25 21:19:47 EDT 2020
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
Thanks for the suggestion, but the purpose of the rough equivalent example is to give a better idea of what product() does. It is not about performance — that job falls to the actual implementation.
Nested generators are an intermediate level Python skill, so using them in the example code makes the docs less accessible.
----------
resolution: -> rejected
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41120>
_______________________________________
More information about the Python-bugs-list
mailing list