[issue37682] random.sample should support iterators
Raymond Hettinger
report at bugs.python.org
Fri Jul 26 05:25:43 EDT 2019
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
Thomas, thank you for the suggestion but I think we should decline. The API for sample() is consistent with choice(), choices() and shuffle(). For the most part the sequence based API has worked out well.
----------
resolution: -> rejected
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37682>
_______________________________________
More information about the Python-bugs-list
mailing list