[Bug 227829] [NEW PORT] math/py-random2: Python 3 compatible Python 2 random module
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 28 15:38:49 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227829
Bug ID: 227829
Summary: [NEW PORT] math/py-random2: Python 3 compatible Python
2 random module
Product: Ports & Packages
Version: Latest
Hardware: Any
URL: https://pypi.org/project/random2
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: freebsd_ports at k-worx.org
CC: python at FreeBSD.org
Created attachment 192876
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192876&action=edit
py-random2.shar
Hello,
attached is the shar file for the Python package py-random2, a Python 3
compatible module of the Python 2 'random' module.
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().
QA:
~~~
- poudriere (11.1-RELEASE amd64 + i386) for each py27 and py36 flavor -> OK
- portlint -> OK
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list