diff options
| author | Christian Heimes <christian@python.org> | 2019-04-10 22:18:02 +0200 |
|---|---|---|
| committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-04-10 13:18:02 -0700 |
| commit | d914596a671c4b0f13641359cf43aa0d6fc05070 (patch) | |
| tree | 7f31160b10be89841a962387d84b23e39a5f0881 /Misc | |
| parent | 6955d44b41058e3bcc59ff41860bd4cc8948c441 (diff) | |
| download | cpython-git-d914596a671c4b0f13641359cf43aa0d6fc05070.tar.gz | |
bpo-36559: random module: optimize sha512 import (GH-12742)
The random module now prefers the lean internal _sha512 module over hashlib
for seed(version=2) to optimize import time.
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Misc')
| -rw-r--r-- | Misc/NEWS.d/next/Library/2019-04-09-12-02-35.bpo-36559.LbDRrw.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-04-09-12-02-35.bpo-36559.LbDRrw.rst b/Misc/NEWS.d/next/Library/2019-04-09-12-02-35.bpo-36559.LbDRrw.rst new file mode 100644 index 0000000000..2f6ee785e7 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-04-09-12-02-35.bpo-36559.LbDRrw.rst @@ -0,0 +1,2 @@ +The random module now prefers the lean internal _sha512 module over hashlib +for seed(version=2) to optimize import time. |
