[issue19944] Make importlib.find_spec load packages as needed
Eric Snow
report at bugs.python.org
Fri Dec 13 08:30:20 CET 2013
Eric Snow added the comment:
Nick: that sounds good to me. I like the idea of find_spec() being the same as import_module(), minus actually loading the module.
In that spirit, here's a rough patch that accomplishes that. It refactors things a bit to get there. Considering where we are in the release cycle, I'd rather punt on a proper rendition like this this until 3.5. In the meantime we could duplicate some code for the sake of find_spec() in the 3.4 timeframe.
----------
Added file: http://bugs.python.org/file33111/issue19944-find-spec-mirror-import-module.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19944>
_______________________________________
More information about the Python-bugs-list
mailing list