difference between random module in python 2.6 and 3.2?
Matej Cepl
mcepl at redhat.com
Mon Feb 6 03:57:04 EST 2012
More information about the Python-list mailing list
Mon Feb 6 03:57:04 EST 2012
- Previous message (by thread): difference between random module in python 2.6 and 3.2?
- Next message (by thread): difference between random module in python 2.6 and 3.2?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 6.2.2012 09:45, Matej Cepl wrote: > Also, how could I write a re-implementation of random.choice which would > work same on python 2.6 and python 3.2? It is not only matter of unit > tests, but I would really welcome if the results on both versions > produce the same results. Silly, of course, the solution is obvious ... I have just embedded random.choice from 2.6 to my code. Matěj
- Previous message (by thread): difference between random module in python 2.6 and 3.2?
- Next message (by thread): difference between random module in python 2.6 and 3.2?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list