[Scipy-tickets] [SciPy] #1485: import scipy.optimize and exit code

SciPy Trac scipy-tickets@scipy....
Thu Jul 28 13:09:36 CDT 2011


#1485: import scipy.optimize and exit code
----------------------------+-----------------------------------------------
 Reporter:  dobrokot        |       Owner:  somebody   
     Type:  defect          |      Status:  new        
 Priority:  normal          |   Milestone:  Unscheduled
Component:  scipy.optimize  |     Version:  0.9.0      
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Python interpreter ignore unhandled exeptions after scipy.optimize import.

 For example, python script like

 import scipy.optimize
 raise Exception("error exit!")

 or like
 import scipy.optimize
 print mistyped_variable

 returns success exit code. This silently ignores mistakes in script when
 running from other process (bash or python subprocess.Popen).

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


More information about the Scipy-tickets mailing list