[Scipy-tickets] [SciPy] #1314: import scipy.sparse.sparsetools causes consistent exit code 0

SciPy Trac scipy-tickets@scipy....
Tue Sep 20 15:45:38 CDT 2011


#1314: import scipy.sparse.sparsetools causes consistent exit code 0
---------------------------------------+------------------------------------
 Reporter:  markMiscavage              |       Owner:  wnbell     
     Type:  defect                     |      Status:  new        
 Priority:  normal                     |   Milestone:  Unscheduled
Component:  scipy.sparse               |     Version:  0.8.0      
 Keywords:  sparsetools exit code pyd  |  
---------------------------------------+------------------------------------

Comment(by pv):

 The situation with other submodules importing `scipy.sparse` is (scipy
 0.11.0.dev-7e1bb79):
 {{{
 $ for mod in constants fftpack integrate lib misc odr optimize special
 weave stats cluster interpolate io linalg maxentropy signal sparse spatial
 stats; do python -c "import sys, scipy.$mod; print '$mod: IMPORTED' if
 sys.modules.get('scipy.sparse.sparsetools') else '$mod: -'"; done

 constants: -
 fftpack: -
 integrate: -
 lib: -
 misc: -
 odr: -
 optimize: IMPORTED
 special: -
 weave: -
 stats: IMPORTED
 cluster: IMPORTED
 interpolate: IMPORTED
 io: IMPORTED
 linalg: -
 maxentropy: IMPORTED
 signal: IMPORTED
 sparse: IMPORTED
 spatial: IMPORTED
 stats: IMPORTED
 }}}
 Apart from `linalg` and `optimize`, this matches the list in #1521, so
 it's possible scipy.sparse.sparsetools is the culprit here. The
 sparsetools code is mostly autogenerated by SWIG, so maybe there's
 something there.

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


More information about the Scipy-tickets mailing list