Date: Sat, 28 Apr 2018 15:38:47 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 227829] [NEW PORT] math/py-random2: Python 3 compatible Python 2 random module Message-ID: <bug-227829-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: freebsd_ports@k-worx.org CC: python@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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227829-21822>
