Brett Cannon <br...@python.org> added the comment:

The finding/loading code in import.c is purely because of the imp module's 
public API (e.g. imp.find_module()). I have been waiting to find out if 
importlib would get bootstrapped before making the current module _imp and then 
creating an imp.py which handles most of the high-level stuff (e.g. imp.py 
containing find_module() and have it use importlib). That would let all of that 
C code go away since I already tie into the low-level C API for C-level import 
function calls.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2377>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to