summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-11-23 10:22:13 (GMT)
committerGitHub <noreply@github.com>2019-11-23 10:22:13 (GMT)
commit041d8b48a2e59fa642b2c5124d78086baf74e339 (patch)
treef189a49ce0107fdeef9eeb75e9e6c63fb169e83c /Misc
parent84b1ff65609c5910b4f838adbe1ead83baae7dbf (diff)
downloadcpython-041d8b48a2e59fa642b2c5124d78086baf74e339.zip
cpython-041d8b48a2e59fa642b2c5124d78086baf74e339.tar.gz
cpython-041d8b48a2e59fa642b2c5124d78086baf74e339.tar.bz2
bpo-38881: choices() raises ValueError when all weights are zero (GH-17362)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-11-22-20-03-46.bpo-38881.7HV1Q0.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-11-22-20-03-46.bpo-38881.7HV1Q0.rst b/Misc/NEWS.d/next/Library/2019-11-22-20-03-46.bpo-38881.7HV1Q0.rst
new file mode 100644
index 0000000..9f4a27d
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-11-22-20-03-46.bpo-38881.7HV1Q0.rst
@@ -0,0 +1 @@
+random.choices() now raises a ValueError when all the weights are zero.