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

SciPy Trac scipy-tickets@scipy....
Wed May 4 11:33:01 CDT 2011


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

Comment(by simonb):

 I reproduce this problem with python 2.7 - windows 7 - 64 bits.
 Installer: scipy-0.9.0b1-win32-superpack-python2.7.exe


 {{{
 import scipy.sparse
 exit(2)
 }}}

 => return code 0

 It digged the issue by inserting "exit(2)" into numpy files. I ended in:
 C:\Python27\Lib\site-packages\scipy\sparse\sparsetools\csr.py on line 24

 Inserting before this line yields a return code of 2. Inserting after this
 line yields a return code of 0.

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


More information about the Scipy-tickets mailing list