]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99305: Speed up secrets.token_hex() ~2x (#99306)
authorNewUserHa <32261870+NewUserHa@users.noreply.github.com>
Fri, 11 Nov 2022 22:45:24 +0000 (06:45 +0800)
committerGitHub <noreply@github.com>
Fri, 11 Nov 2022 22:45:24 +0000 (14:45 -0800)
commit55c96e8053689c29ae28a9d2117ae37934eace68
treee3c4b63e257d9eb31db654666d2a296657609cda
parentf531b6879b530515b009ac79767702829848cf07
gh-99305: Speed up secrets.token_hex() ~2x (#99306)

simple code modernization.

Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Lib/secrets.py
Misc/NEWS.d/next/Library/2022-11-10-11-51-39.gh-issue-99305.6LzQc3.rst [new file with mode: 0644]