[Scipy-tickets] [SciPy] #1868: Work around Cython bug for 0.12.0

SciPy Trac scipy-tickets@scipy....
Sun Mar 17 12:34:58 CDT 2013


#1868: Work around Cython bug for 0.12.0
-------------------------------+--------------------------------------------
 Reporter:  pv                 |       Owner:  rgommers
     Type:  defect             |      Status:  new     
 Priority:  highest            |   Milestone:  0.12.0  
Component:  Official binaries  |     Version:  devel   
 Keywords:                     |  
-------------------------------+--------------------------------------------
 Cython has an unfortunate refcount / memory leak bug with fused types,
 which needs to be somehow worked around for 0.12.0.

 The symptom is that instances of classes with fused-type methods are never
 deallocated. For instance, LinearNDInterpolator et al in scipy.interpolate
 (and these can consume up memory quite fast if using e.g. `griddata`).

 The Cython bugfix is simple (one patch on top of their 0.18 release):

     https://github.com/pv/cython/tree/tmp

 We probably should use a patched version in generating the binaries
 and the source tarballs.

 We perhaps should also turn off the Cython regeneration completely in
 released
 tarballs, so even if e.g. Debian guys mess up the cythonize.dat mechanism,
 the Cython files won't be regenerated.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1868>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list