[Numpy-tickets] [NumPy] #727: Change mtrand to use Cython-generated C code (instead of Pyrex-generated)

NumPy numpy-tickets@scipy....
Sat May 3 06:31:20 CDT 2008


#727: Change mtrand to use Cython-generated C code (instead of Pyrex-generated)
-----------------------------------+----------------------------------------
 Reporter:  fperez                 |        Owner:  rkern
     Type:  enhancement            |       Status:  new  
 Priority:  normal                 |    Milestone:  1.2.0
Component:  numpy.random           |      Version:  devel
 Severity:  normal                 |   Resolution:       
 Keywords:  mtrand, pyrex, cython  |  
-----------------------------------+----------------------------------------
Comment (by alan.mcintyre):

 For what it's worth, I was able to use both Cython 0.9.6.3 and 0.9.6.14 to
 generate mtrand.c (after altering generate_mtranc_c.py as indicated in the
 patch), and NumPy builds just fine with it and all tests pass on Linux.

 I couldn't get the patch to apply cleanly to the numpy trunk, though.  I
 presume there were some changes to mtrand.c since the patch was made, or
 I'm missing some patch option; I tried everything I could think of.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/727#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list