Python Mersenne Twister implementation
- by B Rivera
I have Python 3.1.2 and I'm using Windows XP.
Where can I see Python's implementation of the Mersenne Twister? In the Python docs it is stated that the Mersenne Twister was written in C and the Python History and License ( http://docs.python.org/py3k/license.html?highlight=mersenne%20twister ) states that "The _random module includes code based on a download from http://www.math.keio.ac.jp/matumoto/MT2002/emt19937ar.html."
random.py imports _random which apparently has the Mersenne Twister implementation in it. I can't seem to locate _random.
Any thoughts?