]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41773: Raise exception for non-finite weights in random.choices(). (GH-22441)
authorRam Rachum <ram@rachum.com>
Tue, 29 Sep 2020 01:32:10 +0000 (04:32 +0300)
committerGitHub <noreply@github.com>
Tue, 29 Sep 2020 01:32:10 +0000 (18:32 -0700)
commitb0dfc7581697f20385813582de7e92ba6ba0105f
tree56cb713f1bf2d302363b133682e5ad4afa1e739e
parente8acc355d430b45f1c3ff83312e72272262a854f
bpo-41773: Raise exception for non-finite weights in random.choices().  (GH-22441)
Doc/library/random.rst
Lib/random.py
Lib/test/test_random.py
Misc/NEWS.d/next/Library/2020-09-28-23-22-25.bpo-41773.oKkus0.rst [new file with mode: 0644]