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

SciPy Trac scipy-tickets@scipy....
Thu Jul 28 14:59:53 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:                  |  
----------------------------+-----------------------------------------------

Comment(by dobrokot):

 {{{
 $ python -c "import scipy.optimize ; asdf" && echo ok || echo error
 NameError: name 'asdf' is not defined
 ok

 $ python -c "asdf; import scipy.optimize " && echo ok || echo error
 NameError: name 'asdf' is not defined
 error

 $ python --version; python -c "import scipy; print 'scipy version:',
 scipy.__version__"
 Python 2.6.6
 scipy version: 0.9.0
 }}}

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


More information about the Scipy-tickets mailing list