[Scipy-tickets] [SciPy] #1855: Function build_extension in weave.build_tools does not use argument build_dir

SciPy Trac scipy-tickets@scipy....
Fri Mar 1 06:35:58 CST 2013


#1855: Function build_extension in weave.build_tools does not use argument
build_dir
-----------------------------+----------------------------------------------
 Reporter:  tomastomecek     |       Owner:  somebody   
     Type:  defect           |      Status:  new        
 Priority:  normal           |   Milestone:  Unscheduled
Component:  scipy.weave      |     Version:  0.11.0     
 Keywords:  weave build_dir  |  
-----------------------------+----------------------------------------------
 Function build_extension in weave.build_tools discards argument build_dir.
 This is the first use of variable build_dir:

 {{{
 build_dir = configure_build_dir(module_dir)
 }}}

 So the value is overwritten all the time. Proposed patch is an inliner:

 {{{
 - build_dir = configure_build_dir(module_dir)
 + build_dir = configure_build_dir(build_dir or module_dir)
 }}}

 All the scipy.weave.test tests passed after application of this patch.

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


More information about the Scipy-tickets mailing list