[issue34169] itertools.repeat does not accept None as an explicit count

Raymond Hettinger report at bugs.python.org
Fri Jul 20 23:04:04 EDT 2018


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

> we should let users through documentation know that this code is just pseudo-code 

We already modified the docs to specifically say that the provided code is just a rough equivalent.

Thanks for the suggestion, but I'm going to decline.  There doesn't seem to be a legitimate use case for this.

----------
resolution:  -> not a bug
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34169>
_______________________________________


More information about the Python-bugs-list mailing list