]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-130285: Fix handling of zero or empty counts in random.sample() (gh-130291)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Fri, 21 Feb 2025 17:33:10 +0000 (11:33 -0600)
committerGitHub <noreply@github.com>
Fri, 21 Feb 2025 17:33:10 +0000 (11:33 -0600)
commit286c517db0fedf8d923d6f9620bcbbac4333880d
tree5b131be7c075da4bc2e1c59e08d3f62164ec7fcc
parent0c4248f88e279df3254d62b34dfa3204a92c56a0
gh-130285: Fix handling of zero or empty counts in random.sample() (gh-130291)
Lib/random.py
Lib/test/test_random.py
Misc/NEWS.d/next/Library/2025-02-21-10-32-05.gh-issue-130285.C0fkh7.rst [new file with mode: 0644]