From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 13 Jun 2025 14:11:51 +0000 (+0200) Subject: [3.14] gh-135244: improve wording of `uuid8` docs about CSPRNG (GH-135433) (#135467) X-Git-Tag: v3.14.0b3~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46e7ed72060697b62b12e1313a492ca775c77af5;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-135244: improve wording of `uuid8` docs about CSPRNG (GH-135433) (#135467) gh-135244: improve wording of `uuid8` docs about CSPRNG (GH-135433) (cherry picked from commit 394d7985da50189e123d0908e9a282f6da31ed78) Co-authored-by: LamentXU <108666168+LamentXU123@users.noreply.github.com> --- diff --git a/Doc/library/uuid.rst b/Doc/library/uuid.rst index 747ee3ee0e19..92d58024e84d 100644 --- a/Doc/library/uuid.rst +++ b/Doc/library/uuid.rst @@ -257,7 +257,7 @@ The :mod:`uuid` module defines the following functions: non-specified arguments are substituted for a pseudo-random integer of appropriate size. - By default, *a*, *b* and *c* are generated by a non-cryptographically + By default, *a*, *b* and *c* are not generated by a cryptographically secure pseudo-random number generator (CSPRNG). Use :func:`uuid4` when a UUID needs to be used in a security-sensitive context.