diff --git a/doc/go1.20.html b/doc/go1.20.html index 211425e0dc..3d49dd2442 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -612,12 +612,17 @@ proxyHandler := &httputil.ReverseProxy{
math/rand
-

- TODO: https://go.dev/issue/54880: seed global generator randomly +

+ The math/rand package now automatically seeds + the global random number generator + (used by top-level functions like Float64 and Int) with a random value, + and the top-level Seed function has been deprecated. + Programs that need a reproducible sequence of random numbers + should prefer to allocate their own random source, using rand.New(rand.NewSource(seed)).

- -

- TODO: https://go.dev/cl/436955: math/rand: deprecate Read +

+ Programs that need the earlier consistent global seeding behavior can set + GODEBUG=randautoseed=0 in their environment.