https://github.com/python/cpython/blob/3.9/Lib/random.py
