[issue33114] random.sample() behavior is unexpected/unclear from docs

Scott Eilerman report at bugs.python.org
Wed Mar 21 11:22:31 EDT 2018


Scott Eilerman <scott.j.eilerman at gmail.com> added the comment:

Something along the lines of: "For a fixed seed, random.sample(population, k) is not guaranteed to return the same samples for different values of k."

----------

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


More information about the Python-bugs-list mailing list