<div class="gmail_quote">On Thu, May 3, 2012 at 2:23 AM, Nick Coghlan <span dir="ltr">&lt;<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Standardising on a pattern also opens up the possibility of doing</div>
something meaningful with it in get_data() later. One of the<br>
guarantees of PEP 302 if that you should be able to do this:<br>
<br>
  data_ref = os.path.join(__file__, relative_ref)<br>
  data =  __loader__.get_data(data_ref)<br></blockquote><div><br></div><div>Um, namespace package modules shouldn&#39;t have a __loader__ either, should they?</div><div><br></div></div>