[Zope-dev] FYI: random2
Stephan Richter
stephan.richter at gmail.com
Wed Mar 6 22:09:49 UTC 2013
Hi everyone,
one of the issues while porting apps to Python 3 is that Python 3 uses a new
algorithm for randrange(), which produces different output for Python 2 and 3.
I just released random2, which is a port of Python 2.7's `random` module to
Python 2.6, 3.2 and 3.3. This way your random output will not change while
porting.
Note: This is of course most useful to the ones among you that use sampledata
generation heavily.
Regards,
Stephan
--
Entrepreneur and Software Geek
Google me. "Zope Stephan Richter"
More information about the Zope-Dev
mailing list