[issue14710] pkgutil.get_loader is broken

Nick Coghlan report at bugs.python.org
Fri May 4 06:36:28 CEST 2012


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I'm not yet sure the proposed fix in the patch is the right approach (I need to look at the surrounding code), but I believe Pavel's right that get_loader() should be returning None in this case instead of throwing an exception.

----------

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


More information about the Python-bugs-list mailing list