[issue19944] Make importlib.find_spec load packages as needed

Nick Coghlan report at bugs.python.org
Fri Dec 27 15:14:09 CET 2013


Nick Coghlan added the comment:

The "simple" patch actually looks like a good way to end up with find_spec specific bugs because it diverges from the more thoroughly tested main import path (e.g. it looks to me like it doesn't release the import lock properly)

So the _FoundSpec version actually looks better to me, because it keeps find_spec more inline with actual imports.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19944>
_______________________________________


More information about the Python-bugs-list mailing list