[issue21052] Consider dropping ImportWarning for empty sys.path_hooks and sys.meta_path

Brett Cannon report at bugs.python.org
Mon Mar 24 18:21:54 CET 2014


Brett Cannon added the comment:

I should also say that dropping warnings leaves only a single case of ImportWarning related to empty directory names (in relation to Finder.find_module()). Once that can go away that will eliminate all uses of warnings in importlib and thus won't necessitate importing it in this case.

----------

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


More information about the Python-bugs-list mailing list