Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
I concur with Tim and Mark. This isn't a bug. The randomization occurs at the getrandbits() level. The downstream functions, such as randbelow and randrange, have no responsibility to create additional dispersion; instead, their role is to map the upstream scattering to the desired target distributions. The correlations found by the OP are indeed unsurprising. They disappear entirely when using two difference seeds or by making successive selections from a single stream. ---------- resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39867> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com