Hi. I am part of the pypy team. I recently rewrote mtrand.pyx as mtrand.py that uses cffi, in order to use it with pypy. mtrand.pyx uses cython to compile a python extension module, where my approach was to compile the randomkit code as a shared object, and to use that directly via cffi.
If this approach interests anyone, the code is on the cffi-random fork of numpy at bitbucket.org/pypy/numpy, which is a partial implementation of pure-python numpy for pypy. Comments are welcome Matti Picus _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion