[Python-checkins] bpo-36324: Update comments to include the target hash sums (GH-15110) (GH-15112)

Raymond Hettinger webhook-mailer at python.org
Sun Aug 4 15:16:23 EDT 2019


https://github.com/python/cpython/commit/d7d607c000a28432f87d24d2a5a9315c51017041
commit: d7d607c000a28432f87d24d2a5a9315c51017041
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2019-08-04T12:16:19-07:00
summary:

bpo-36324: Update comments to include the target hash sums (GH-15110) (GH-15112)

(cherry picked from commit 8183bb8150edcac6a7525bfb7708d08837ecb095)

Co-authored-by: Raymond Hettinger <rhettinger at users.noreply.github.com>

files:
M Lib/statistics.py

diff --git a/Lib/statistics.py b/Lib/statistics.py
index 8a6be7c75901..77291dd62cb9 100644
--- a/Lib/statistics.py
+++ b/Lib/statistics.py
@@ -892,6 +892,7 @@ def inv_cdf(self, p):
         q = p - 0.5
         if fabs(q) <= 0.425:
             r = 0.180625 - q * q
+            # Hash sum: 55.88319_28806_14901_4439
             num = (((((((2.50908_09287_30122_6727e+3 * r +
                          3.34305_75583_58812_8105e+4) * r +
                          6.72657_70927_00870_0853e+4) * r +
@@ -914,6 +915,7 @@ def inv_cdf(self, p):
         r = sqrt(-log(r))
         if r <= 5.0:
             r = r - 1.6
+            # Hash sum: 49.33206_50330_16102_89036
             num = (((((((7.74545_01427_83414_07640e-4 * r +
                          2.27238_44989_26918_45833e-2) * r +
                          2.41780_72517_74506_11770e-1) * r +
@@ -932,6 +934,7 @@ def inv_cdf(self, p):
                          1.0)
         else:
             r = r - 5.0
+            # Hash sum: 47.52583_31754_92896_71629
             num = (((((((2.01033_43992_92288_13265e-7 * r +
                          2.71155_55687_43487_57815e-5) * r +
                          1.24266_09473_88078_43860e-3) * r +



More information about the Python-checkins mailing list