[issue28424] pkgutil.get_data() doesn't work with namespace packages

Xiang Zhang report at bugs.python.org
Fri Oct 14 00:06:25 EDT 2016


Xiang Zhang added the comment:

The doc says: "If the package cannot be located or loaded, or it uses a loader which does not support get_data(), then None is returned". Namespace package gets a ``None`` loader and then does not support get_data.

----------
nosy: +brett.cannon, eric.snow, ncoghlan, xiang.zhang

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


More information about the Python-bugs-list mailing list