[Scipy-tickets] [SciPy] #1521: import scipy.interpolate causes consistent exit code 0

SciPy Trac scipy-tickets@scipy....
Sat Sep 17 23:24:19 CDT 2011

#1521: import scipy.interpolate causes consistent exit code 0
 Reporter:  SteveDoyle  |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  Other       |     Version:  0.9.0      
 Keywords:              |  
Changes (by SteveDoyle):

  * version:  0.8.0 => 0.9.0


 Depending on the version of scipy the module in group 2 won't always fix
 the error code.  I tested them in scipy 0.7.1 and found that many modules
 WOULD fix the bug.  I also found in scipy 0.9.0, ONLY importing
 scipy.weave would fix the bug.

 I tracked the bug fix down to scipy.weave.catalog on line 359 in version
 sys.path.append(default_dir())   # line 359 in scipy.weave.catalog
 I don't understand what's so special about the default_dir() function that
 would fix this problem.

Ticket URL: <http://projects.scipy.org/scipy/ticket/1521#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