summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-08-01 08:18:26 (GMT)
committerGitHub <noreply@github.com>2020-08-01 08:18:26 (GMT)
commit5c3270939c09e4c8e80fd26449b718a998701912 (patch)
treefd4db3e8ecd068c0feaee855d3c53aacb07bb8a9 /Misc
parentcadda52d974937069eeebea1cca4229e2bd400df (diff)
downloadcpython-5c3270939c09e4c8e80fd26449b718a998701912.zip
cpython-5c3270939c09e4c8e80fd26449b718a998701912.tar.gz
cpython-5c3270939c09e4c8e80fd26449b718a998701912.tar.bz2
bpo-41421: Algebraic simplification for random.paretovariate() (GH-21695)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-08-01-00-51-15.bpo-41421.dHKRVB.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-08-01-00-51-15.bpo-41421.dHKRVB.rst b/Misc/NEWS.d/next/Library/2020-08-01-00-51-15.bpo-41421.dHKRVB.rst
new file mode 100644
index 0000000..cf291c6
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-08-01-00-51-15.bpo-41421.dHKRVB.rst
@@ -0,0 +1,3 @@
+Make an algebraic simplification to random.paretovariate(). It now is
+slightly less subject to round-off error and is slightly faster. Inputs that
+used to cause ZeroDivisionError now cause an OverflowError instead.