[Scipy-tickets] [SciPy] #634: __init__.py: "from __config__ import show as show_config"

SciPy scipy-tickets@scipy....
Wed Apr 9 19:48:38 CDT 2008


#634: __init__.py: "from __config__ import show as show_config"
-------------------------+--------------------------------------------------
 Reporter:  cchang       |       Owner:  somebody
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:  0.7     
Component:  Other        |     Version:          
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 Version 0.6.0

 I ''believe'' the subject statement will only work if you are in the
 directory containing {{{__config__.py}}}, or this directory (.../site-
 packages/scipy) is in your PYTHONPATH explicitly (as opposed to the
 general .../site-packages path). Find that a better solution is:

 {{{from scipy.__config__ import show as show_config}}}

 Might avoid tripping up cchang and his ilk... :)

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


More information about the Scipy-tickets mailing list