<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 5, 2016 at 3:21 PM, Greg Ewing <span dir="ltr"><<a href="mailto:greg.ewing@canterbury.ac.nz" target="_blank">greg.ewing@canterbury.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Chris Barker wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
OK -- that's more or less my thought -- if it's python that gets run, then you've got your config generator built in -- why not?<br>
</blockquote>
<br></span>
The difference is that the config generator only gets run<br>
once, when the config info needs to get produced. If the<br>
config file itself is executable, it needs to be run each<br>
time the config info gets *used*</blockquote><div><br></div><div>exactly -- maybe some run-time configuration specialization? though maybe that's exactly what we want to avoid.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> -- which could be by a<br>
tool for which running arbitrary python code is awkward or<br>
undesirable.</blockquote><div><br></div><div>This is python packaging, I'm still trying to see why you'd need to read the config without python available.</div><div><br></div><div>But I think the key point is -- do we want to enforce that the config data is static -- it WILL not change depending on when or how or where it is read? </div><div><br></div><div>If so, then yeah, no runnable code.</div><div><br></div><div>-CHB</div><div><br></div><div><br></div><div><br></div></div><div><br></div>-- <br><div class="gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R (206) 526-6959 voice<br>7600 Sand Point Way NE (206) 526-6329 fax<br>Seattle, WA 98115 (206) 526-6317 main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div>
</div></div>