1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/math/py-random2/pkg-descr
Yuri Victorovich 4b6affc580 New port: math/py-random2: Python 3 compatible Python 2 random module
PR:		227829
Submitted by:	Kai <freebsd_ports@k-worx.org>
2018-04-28 19:02:57 +00:00

9 lines
387 B
Plaintext

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. Note that several
high-level functions such as randint() and choice() use randrange().
WWW: https://pypi.org/project/random2/