summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2018-06-27 08:08:31 (GMT)
committerGitHub <noreply@github.com>2018-06-27 08:08:31 (GMT)
commitddf7171911e117aa7ad4b0f9ded4f0c3a4ca0fec (patch)
treed8fc61e6eabb4d83d9e5dbe9b7f34192b7760b79 /Misc/NEWS.d/next
parent3c8043d8fac4c0d05c0ba9e4e555e2f3165f2fe0 (diff)
downloadcpython-ddf7171911e117aa7ad4b0f9ded4f0c3a4ca0fec.zip
cpython-ddf7171911e117aa7ad4b0f9ded4f0c3a4ca0fec.tar.gz
cpython-ddf7171911e117aa7ad4b0f9ded4f0c3a4ca0fec.tar.bz2
bpo-24567: Random subnormal.diff (#7954)
Handle subnormal weights for choices()
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Library/2018-06-27-00-31-30.bpo-24567.FuePyY.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-06-27-00-31-30.bpo-24567.FuePyY.rst b/Misc/NEWS.d/next/Library/2018-06-27-00-31-30.bpo-24567.FuePyY.rst
new file mode 100644
index 0000000..d496f2b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-06-27-00-31-30.bpo-24567.FuePyY.rst
@@ -0,0 +1,2 @@
+Improve random.choices() to handle subnormal input weights that could
+occasionally trigger an IndexError.