The code that Cython generates for numpy/random/mtrand/mtrand.pyx contains several __Pyx_*() functions that muck about in the PyThreadState object (which isn't standard) but each seems to have a sanctioned equivalent provided in the official C API, listed here: http://docs.python.org/c-api/exceptions.html
This is important because non-CPython interpreters likely won't expose that struct, and indeed PyPy does not, and it would be cumbersome to do so. So I suppose my question, then, is, is there a reason why those functions are implemented? I'm asking here before filing a bug report in case there's a good reason for this that I'm oblivious to. Me being oblivious is not unheard of... Cheers, Dan
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
