<p dir="ltr"><br>
On 29 May 2016 3:10 pm, "Eric Snow" <<a href="mailto:ericsnowcurrently@gmail.com">ericsnowcurrently@gmail.com</a>> wrote:<br>
><br>
> Looking through all the code, I don't think it's worth it (for now) to<br>
> worry about using an import "system" that isn't hooked up to the<br>
> import state in sys.  I'll still look into a more isolated import<br>
> "system" abstraction later through. :)</p>
<p dir="ltr">That's basically why PEP 406 stalled - the associated GSoC project showed that the problem was more complex than I first thought (due to separate problems with passing state to import statements in the imported code and the process global nature of extension module loading).</p>
<p dir="ltr">It's also worth keeping in mind that many of the recent changes to better support advanced use cases like lazy module loading and letting Cython better emulate pure Python import semantics are already still deeply mystifying to folks with more prosaic needs like "given a path, import that file as a module": <a href="http://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path">http://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path</a></p>
<p dir="ltr">Cheers,<br>
Nick.<br>
</p>