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

SciPy Trac scipy-tickets@scipy....
Tue Mar 30 08:14:25 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 jzikovsky):

 Yes, I've been working around this issue this way. My support code would
 change dynamically, so in one instance, I used:
 code += "/* " + support + " */"
 which would put the support code inside the key, though commented out.
 This way the recompilation would occur whenever it was really needed. This
 would fail if the support code had any /* */ comments though, so I just
 avoided those.

 This behavior is a bit surprising, and does not seem to be documented;
 IMHO the cache key should use the code and the support code together

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

More information about the Scipy-tickets mailing list