[Scipy-tickets] [SciPy] #1143: scipy.weave.inline ignores changed support code

SciPy Trac scipy-tickets@scipy....
Mon Mar 29 15:27:32 CDT 2010


#1143: scipy.weave.inline ignores changed support code
-------------------------+--------------------------------------------------
 Reporter:  jzikovsky    |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  0.8.0   
Component:  scipy.weave  |     Version:  0.7.0   
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by stefan):

 The function cache uses "code" as its key.  Since you use exactly the same
 code in both cases, it will not distinguish between them.  You can trigger
 a recompile by any minor change to the code, for example:

 {{{
 code1 = """
 support_function(10);
 """

 code2 = """
 support_function(10); //
 """
 }}}

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