Guix will hold its first online conference November 22nd. Propose a talk before November 6th. Learn more!

python2-random2 1.0.1 Python 3 version of the Python 2 random module

This package provides a Python 3 ported version of Python 2.7’s random module. It has also been back-ported to work in Python 2.6.

In Python 3, the implementation of randrange() was changed, so that even with the same seed you get different sequences in Python 2 and 3.

This package closes that gap, allowing stable random number generation between the different Python versions.