FYI: random2

Stephan Richter <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <4637031.n1JE1bbahg@einstein>
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"
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.